diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-26 08:25:06 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-26 08:25:06 +0000 |
commit | e3ff5ada8a8f6cc166ecc45147da0d63c3683026 (patch) | |
tree | ccd4a6b0d605384b41f7d3b84cc019344c2dd65a /test/Integer/a15.ll | |
parent | 950bf6030101d670ea205efd307ea5d3b375544d (diff) | |
download | external_llvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.zip external_llvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.tar.gz external_llvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.tar.bz2 |
For PR761:
Remove "target endian/pointersize" or add "target datalayout" to make
the test parse properly or set the datalayout because defaults changes.
For PR645:
Make global names use the @ prefix.
For llvm-upgrade changes:
Fix test cases or completely remove use of llvm-upgrade for test cases
that cannot survive the new renaming or upgrade capabilities.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33533 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Integer/a15.ll')
-rw-r--r-- | test/Integer/a15.ll | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/test/Integer/a15.ll b/test/Integer/a15.ll index fc4688b..d3cc319 100644 --- a/test/Integer/a15.ll +++ b/test/Integer/a15.ll @@ -3,26 +3,26 @@ ; test 15 bits ; -%b = constant i15 add(i15 32767, i15 1) -%c = constant i15 add(i15 32767, i15 32767) -%d = constant i15 add(i15 32760, i15 8) -%e = constant i15 sub(i15 0 , i15 1) -%f = constant i15 sub(i15 0 , i15 32767) -%g = constant i15 sub(i15 2 , i15 32767) +@b = constant i15 add(i15 32767, i15 1) +@c = constant i15 add(i15 32767, i15 32767) +@d = constant i15 add(i15 32760, i15 8) +@e = constant i15 sub(i15 0 , i15 1) +@f = constant i15 sub(i15 0 , i15 32767) +@g = constant i15 sub(i15 2 , i15 32767) -%h = constant i15 shl(i15 1 , i8 15) -%i = constant i15 shl(i15 1 , i8 14) -%j = constant i15 lshr(i15 32767 , i8 14) -%k = constant i15 lshr(i15 32767 , i8 15) -%l = constant i15 ashr(i15 32767 , i8 14) -%m = constant i15 ashr(i15 32767 , i8 15) +@h = constant i15 shl(i15 1 , i8 15) +@i = constant i15 shl(i15 1 , i8 14) +@j = constant i15 lshr(i15 32767 , i8 14) +@k = constant i15 lshr(i15 32767 , i8 15) +@l = constant i15 ashr(i15 32767 , i8 14) +@m = constant i15 ashr(i15 32767 , i8 15) -%n = constant i15 mul(i15 32767, i15 2) -%q = constant i15 mul(i15 -16383,i15 -3) -%r = constant i15 sdiv(i15 -1, i15 16383) -%s = constant i15 udiv(i15 -1, i15 16383) -%t = constant i15 srem(i15 1, i15 32766) -%u = constant i15 urem(i15 32767,i15 -1) -%o = constant i15 trunc( i16 32768 to i15 ) -%p = constant i15 trunc( i16 32767 to i15 ) +@n = constant i15 mul(i15 32767, i15 2) +@q = constant i15 mul(i15 -16383,i15 -3) +@r = constant i15 sdiv(i15 -1, i15 16383) +@s = constant i15 udiv(i15 -1, i15 16383) +@t = constant i15 srem(i15 1, i15 32766) +@u = constant i15 urem(i15 32767,i15 -1) +@o = constant i15 trunc( i16 32768 to i15 ) +@p = constant i15 trunc( i16 32767 to i15 ) |