[llvm-commits] CVS: llvm/test/Regression/Transforms/ConstProp/2006-12-01-TruncBoolBug.ll

Chris Lattner sabre at nondot.org
Fri Dec 1 11:03:10 PST 2006



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

2006-12-01-TruncBoolBug.ll added (r1.1)
---
Log message:

new 'cast' miscompilation, reduced from perlbmk by Evan



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

 2006-12-01-TruncBoolBug.ll |    5 +++++
 1 files changed, 5 insertions(+)


Index: llvm/test/Regression/Transforms/ConstProp/2006-12-01-TruncBoolBug.ll
diff -c /dev/null llvm/test/Regression/Transforms/ConstProp/2006-12-01-TruncBoolBug.ll:1.1
*** /dev/null	Fri Dec  1 13:03:06 2006
--- llvm/test/Regression/Transforms/ConstProp/2006-12-01-TruncBoolBug.ll	Fri Dec  1 13:02:56 2006
***************
*** 0 ****
--- 1,5 ----
+ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep 'ret bool false'
+ bool %test() {
+   %X = trunc uint 320 to bool
+   ret bool %X
+ }






More information about the llvm-commits mailing list