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/a31.ll | |
parent | 950bf6030101d670ea205efd307ea5d3b375544d (diff) |
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/a31.ll')
-rw-r--r-- | test/Integer/a31.ll | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/test/Integer/a31.ll b/test/Integer/a31.ll index 50e229dee5..fa3774b4fb 100644 --- a/test/Integer/a31.ll +++ b/test/Integer/a31.ll @@ -3,24 +3,24 @@ ; test 31 bits ; -%b = constant i31 add(i31 2147483647, i31 1) -%c = constant i31 add(i31 2147483647, i31 2147483647) -%d = constant i31 add(i31 2147483640, i31 8) -%e = constant i31 sub(i31 0 , i31 1) -%f = constant i31 sub(i31 0 , i31 2147483647) -%g = constant i31 sub(i31 2 , i31 2147483647) +@b = constant i31 add(i31 2147483647, i31 1) +@c = constant i31 add(i31 2147483647, i31 2147483647) +@d = constant i31 add(i31 2147483640, i31 8) +@e = constant i31 sub(i31 0 , i31 1) +@f = constant i31 sub(i31 0 , i31 2147483647) +@g = constant i31 sub(i31 2 , i31 2147483647) -%h = constant i31 shl(i31 1 , i8 31) -%i = constant i31 shl(i31 1 , i8 30) -%j = constant i31 lshr(i31 2147483647 , i8 30) -%k = constant i31 lshr(i31 2147483647 , i8 31) -%l = constant i31 ashr(i31 2147483647 , i8 30) -%m = constant i31 ashr(i31 2147483647 , i8 31) +@h = constant i31 shl(i31 1 , i8 31) +@i = constant i31 shl(i31 1 , i8 30) +@j = constant i31 lshr(i31 2147483647 , i8 30) +@k = constant i31 lshr(i31 2147483647 , i8 31) +@l = constant i31 ashr(i31 2147483647 , i8 30) +@m = constant i31 ashr(i31 2147483647 , i8 31) -%n = constant i31 mul(i31 2147483647, i31 2) -%q = constant i31 sdiv(i31 -1, i31 1073741823) -%r = constant i31 udiv(i31 -1, i31 1073741823) -%s = constant i31 srem(i31 3, i31 2147483646) -%t = constant i31 urem(i31 2147483647,i31 -1) -%o = constant i31 trunc( i32 2147483648 to i31 ) -%p = constant i31 trunc( i32 2147483647 to i31 ) +@n = constant i31 mul(i31 2147483647, i31 2) +@q = constant i31 sdiv(i31 -1, i31 1073741823) +@r = constant i31 udiv(i31 -1, i31 1073741823) +@s = constant i31 srem(i31 3, i31 2147483646) +@t = constant i31 urem(i31 2147483647,i31 -1) +@o = constant i31 trunc( i32 2147483648 to i31 ) +@p = constant i31 trunc( i32 2147483647 to i31 ) |