From dad4e27046abd3c1b2f93352240945057f166b09 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 13 Aug 2003 20:17:41 +0000 Subject: [PATCH] I must have missed these when eliminating the cast to bool cannonicalizations llvm-svn: 7829 --- llvm/test/Regression/Transforms/InstCombine/and.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/test/Regression/Transforms/InstCombine/and.ll b/llvm/test/Regression/Transforms/InstCombine/and.ll index e30d5d35a182..59fb82383552 100644 --- a/llvm/test/Regression/Transforms/InstCombine/and.ll +++ b/llvm/test/Regression/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 }