Changes in directory llvm/test/Regression/Transforms/InstCombine:

shl-trunc.ll added (r1.1)
---
Log message:

new testcase


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

 shl-trunc.ll |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm/test/Regression/Transforms/InstCombine/shl-trunc.ll
diff -c /dev/null llvm/test/Regression/Transforms/InstCombine/shl-trunc.ll:1.1
*** /dev/null   Mon Dec  4 19:29:11 2006
--- llvm/test/Regression/Transforms/InstCombine/shl-trunc.ll    Mon Dec  4 
19:29:01 2006
***************
*** 0 ****
--- 1,7 ----
+ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep shl
+ 
+ bool %test(int %X, ubyte %A) {
+       %B = lshr int %X, ubyte %A
+       %D = trunc int %B to bool
+       ret bool %D
+ }



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to