diff options
author | Zhou Sheng <zhousheng00@gmail.com> | 2007-01-19 14:26:57 +0000 |
---|---|---|
committer | Zhou Sheng <zhousheng00@gmail.com> | 2007-01-19 14:26:57 +0000 |
commit | 4da6420a07d4b91aa1270e18cc970e32c53b193e (patch) | |
tree | af4c902e40645be2d1b7ab8b233ab9d3695ce964 /test/Integer/testarith_bt.ll | |
parent | 02b985c50faa7b0f43ef4100761c633ed4b8d6d2 (diff) | |
download | llvm-4da6420a07d4b91aa1270e18cc970e32c53b193e.tar.gz llvm-4da6420a07d4b91aa1270e18cc970e32c53b193e.tar.bz2 llvm-4da6420a07d4b91aa1270e18cc970e32c53b193e.tar.xz |
Cover more arithmetics for arbitrary bitwidth integers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33355 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Integer/testarith_bt.ll')
-rw-r--r-- | test/Integer/testarith_bt.ll | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Integer/testarith_bt.ll b/test/Integer/testarith_bt.ll index 0dce41fb51..d4b643d340 100644 --- a/test/Integer/testarith_bt.ll +++ b/test/Integer/testarith_bt.ll @@ -13,6 +13,9 @@ begin %t5 = sdiv i31 %t1, %t2 %t6 = urem i31 %t1, %t2 %t7 = srem i31 %t1, %t2 + %t8 = shl i31 %t1, i8 9 + %t9 = lshr i31 %t1, i8 9 + %t10= ashr i31 %t1, i8 9 %f1 = sitofp i31 %t1 to float %f2 = fdiv float 4.0, %f1 ret i31 %t3 |