[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/cast-set.ll
Chris Lattner
lattner at cs.uiuc.edu
Sun Nov 2 23:10:02 PST 2003
Changes in directory llvm/test/Regression/Transforms/InstCombine:
cast-set.ll updated: 1.11 -> 1.12
---
Log message:
Add another case, which an implementation of test6 must be sure to handle
correctly.
---
Diffs of the changes: (+6 -0)
Index: llvm/test/Regression/Transforms/InstCombine/cast-set.ll
diff -u llvm/test/Regression/Transforms/InstCombine/cast-set.ll:1.11 llvm/test/Regression/Transforms/InstCombine/cast-set.ll:1.12
--- llvm/test/Regression/Transforms/InstCombine/cast-set.ll:1.11 Sun Nov 2 21:52:34 2003
+++ llvm/test/Regression/Transforms/InstCombine/cast-set.ll Sun Nov 2 23:08:53 2003
@@ -48,6 +48,12 @@
ret bool %C
}
+bool %test6a(bool %A) {
+ %B = cast bool %A to int
+ %C = setne int %B, -1 ; Always true!
+ ret bool %C
+}
+
bool %test7(sbyte* %A) {
%B = cast sbyte* %A to int*
%C = seteq int* %B, null
More information about the llvm-commits
mailing list