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

2006-02-13-DemandedMiscompile.ll added (r1.1)
---
Log message:

testcase reduced from Ptrdist/bc that is miscompiled by recent instcombine 
changes.


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

 2006-02-13-DemandedMiscompile.ll |    9 +++++++++
 1 files changed, 9 insertions(+)


Index: 
llvm/test/Regression/Transforms/InstCombine/2006-02-13-DemandedMiscompile.ll
diff -c /dev/null 
llvm/test/Regression/Transforms/InstCombine/2006-02-13-DemandedMiscompile.ll:1.1
*** /dev/null   Mon Feb 13 16:32:00 2006
--- 
llvm/test/Regression/Transforms/InstCombine/2006-02-13-DemandedMiscompile.ll    
    Mon Feb 13 16:31:50 2006
***************
*** 0 ****
--- 1,9 ----
+ ; RUN: llvm-as < %s | opt -instcombine -disable-output &&
+ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep undef
+ 
+ int %test(sbyte %A) {
+       %B = cast sbyte %A to int
+       %C = shr int %B, ubyte 8
+       ret int %C
+ }
+ 



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

Reply via email to