[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/2003-05-26-CastMiscompile.ll
Chris Lattner
lattner at cs.uiuc.edu
Mon May 26 18:42:01 PDT 2003
Changes in directory llvm/test/Regression/Transforms/InstCombine:
2003-05-26-CastMiscompile.ll added (r1.1)
---
Log message:
New testcase
---
Diffs of the changes:
Index: llvm/test/Regression/Transforms/InstCombine/2003-05-26-CastMiscompile.ll
diff -c /dev/null llvm/test/Regression/Transforms/InstCombine/2003-05-26-CastMiscompile.ll:1.1
*** /dev/null Mon May 26 18:41:23 2003
--- llvm/test/Regression/Transforms/InstCombine/2003-05-26-CastMiscompile.ll Mon May 26 18:41:13 2003
***************
*** 0 ****
--- 1,7 ----
+ ; RUN: as < %s | opt -instcombine | dis | grep 4294967295
+
+ ulong %test(ulong %Val) {
+ %tmp.3 = cast ulong %Val to uint ; <uint> [#uses=1]
+ %tmp.8 = cast uint %tmp.3 to ulong ; <ulong> [#uses=1]
+ ret ulong %tmp.8
+ }
More information about the llvm-commits
mailing list