[llvm-commits] CVS: llvm/test/Regression/Transforms/LevelRaise/2003-11-28-IllegalTypeConversion.ll
Chris Lattner
lattner at cs.uiuc.edu
Fri Nov 28 23:20:00 PST 2003
Changes in directory llvm/test/Regression/Transforms/LevelRaise:
2003-11-28-IllegalTypeConversion.ll added (r1.1)
---
Log message:
new testcase for problem causing 2003-10-12-GlobalVarInitializers failures
---
Diffs of the changes: (+10 -0)
Index: llvm/test/Regression/Transforms/LevelRaise/2003-11-28-IllegalTypeConversion.ll
diff -c /dev/null llvm/test/Regression/Transforms/LevelRaise/2003-11-28-IllegalTypeConversion.ll:1.1
*** /dev/null Fri Nov 28 23:19:26 2003
--- llvm/test/Regression/Transforms/LevelRaise/2003-11-28-IllegalTypeConversion.ll Fri Nov 28 23:19:15 2003
***************
*** 0 ****
--- 1,10 ----
+ ; The program should not just cast 2143289344 to float and store it!
+ ;
+ ; RUN: llvm-as < %s | opt -raise | llvm-dis | not grep 41DFF
+
+ void %test() {
+ %mem_tmp = alloca float
+ %tmp.0 = cast float* %mem_tmp to uint*
+ store uint 2143289344, uint* %tmp.0
+ ret void
+ }
More information about the llvm-commits
mailing list