[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/and.ll
Chris Lattner
lattner at cs.uiuc.edu
Wed Aug 13 15:18:01 PDT 2003
Changes in directory llvm/test/Regression/Transforms/InstCombine:
and.ll updated: 1.15 -> 1.16
---
Log message:
I must have missed these when eliminating the cast to bool cannonicalizations
---
Diffs of the changes:
Index: llvm/test/Regression/Transforms/InstCombine/and.ll
diff -u llvm/test/Regression/Transforms/InstCombine/and.ll:1.15 llvm/test/Regression/Transforms/InstCombine/and.ll:1.16
--- llvm/test/Regression/Transforms/InstCombine/and.ll:1.15 Wed Aug 13 00:27:57 2003
+++ llvm/test/Regression/Transforms/InstCombine/and.ll Wed Aug 13 15:17:41 2003
@@ -49,13 +49,13 @@
bool %test9(int %A) {
%B = and int %A, -2147483648 ; Test of sign bit, convert to setle %A, 0
- %C = cast int %B to bool
+ %C = setne int %B, 0
ret bool %C
}
bool %test9(uint %A) {
%B = and uint %A, 2147483648 ; Test of sign bit, convert to setle %A, 0
- %C = cast uint %B to bool
+ %C = setne uint %B, 0
ret bool %C
}
More information about the llvm-commits
mailing list