diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-13 20:17:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-13 20:17:41 +0000 |
commit | eb320c69ed6e59a0addca8d16d189d884fc93aee (patch) | |
tree | f96b878ae574be9aa849d93230e941ae0740b6fd /test/Transforms/InstCombine/and.ll | |
parent | aa9c1f13a173abd8afc56b95afa9c9058a4ddc59 (diff) |
I must have missed these when eliminating the cast to bool cannonicalizations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7829 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/and.ll')
-rw-r--r-- | test/Transforms/InstCombine/and.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/InstCombine/and.ll b/test/Transforms/InstCombine/and.ll index e30d5d35a1..59fb823835 100644 --- a/test/Transforms/InstCombine/and.ll +++ b/test/Transforms/InstCombine/and.ll @@ -49,13 +49,13 @@ ubyte %test8(ubyte %A) { ; AND associates 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 } |