[llvm-commits] CVS: llvm/test/Transforms/ConstProp/2007-02-05-BitCast.ll
Chris Lattner
sabre at nondot.org
Mon Feb 5 18:22:58 PST 2007
Changes in directory llvm/test/Transforms/ConstProp:
2007-02-05-BitCast.ll added (r1.1)
---
Log message:
Testcase for miscompilation
---
Diffs of the changes: (+7 -0)
2007-02-05-BitCast.ll | 7 +++++++
1 files changed, 7 insertions(+)
Index: llvm/test/Transforms/ConstProp/2007-02-05-BitCast.ll
diff -c /dev/null llvm/test/Transforms/ConstProp/2007-02-05-BitCast.ll:1.1
*** /dev/null Mon Feb 5 20:22:47 2007
--- llvm/test/Transforms/ConstProp/2007-02-05-BitCast.ll Mon Feb 5 20:22:37 2007
***************
*** 0 ****
--- 1,7 ----
+ ; RUN: llvm-as < %s | opt -constprop | llvm-dis | grep 1065353216
+
+ define i32 @test() {
+ %A = bitcast float 1.000000e+00 to i32 ; <i32> [#uses=1]
+ ret i32 %A
+ }
+
More information about the llvm-commits
mailing list