[llvm-commits] CVS: llvm/test/Integer/testarith_bt.ll

Zhou Sheng zhousheng00 at gmail.com
Fri Jan 19 06:27:12 PST 2007



Changes in directory llvm/test/Integer:

testarith_bt.ll updated: 1.1 -> 1.2
---
Log message:

Cover more arithmetics for arbitrary bitwidth integers.


---
Diffs of the changes:  (+3 -0)

 testarith_bt.ll |    3 +++
 1 files changed, 3 insertions(+)


Index: llvm/test/Integer/testarith_bt.ll
diff -u llvm/test/Integer/testarith_bt.ll:1.1 llvm/test/Integer/testarith_bt.ll:1.2
--- llvm/test/Integer/testarith_bt.ll:1.1	Tue Jan 16 12:08:22 2007
+++ llvm/test/Integer/testarith_bt.ll	Fri Jan 19 08:26:57 2007
@@ -13,6 +13,9 @@
         %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






More information about the llvm-commits mailing list