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

2006-04-28-ShiftShiftLongLong.ll added (r1.1)
---
Log message:

new testcase miscompiled by instcombine


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

 2006-04-28-ShiftShiftLongLong.ll |   10 ++++++++++
 1 files changed, 10 insertions(+)


Index: 
llvm/test/Regression/Transforms/InstCombine/2006-04-28-ShiftShiftLongLong.ll
diff -c /dev/null 
llvm/test/Regression/Transforms/InstCombine/2006-04-28-ShiftShiftLongLong.ll:1.1
*** /dev/null   Fri Apr 28 17:17:30 2006
--- 
llvm/test/Regression/Transforms/InstCombine/2006-04-28-ShiftShiftLongLong.ll    
    Fri Apr 28 17:17:20 2006
***************
*** 0 ****
--- 1,10 ----
+ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep shl &&
+ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep cast
+ 
+ ; This cannot be turned into a sign extending cast!
+ 
+ long %test(long %X) {
+       %Y = shl long %X, ubyte 16
+       %Z = shr long %Y, ubyte 16
+       ret long %Z
+ }



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

Reply via email to