Enhance bool simplifcation in X86 to handle more cases
[oota-llvm.git] / test / CodeGen / X86 / add.ll
index 03d2e472cba670dccfad2ecabf9e4c9fbe15ca69..5fe08ed305f1a5b068d9bd41252aa423aeaf9d18 100644 (file)
@@ -119,8 +119,8 @@ entry:
 
 ; X64: test8:
 ; X64: addq
-; X64-NEXT: sbbq
-; X64-NEXT: testb
+; X64-NEXT: setb
+; X64: ret
 
 define i32 @test9(i32 %x, i32 %y) nounwind readnone {
   %cmp = icmp eq i32 %x, 10