Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -mcpu=generic -march=x86-64 -asm-verbose=false | FileCheck %s
      2 
      3 define zeroext i1 @test0(i64 %x) nounwind {
      4 ; CHECK-LABEL: test0:
      5 ; CHECK-NEXT: incq %[[X:rdi|rcx]]
      6 ; CHECK-NEXT: cmpq $1, %[[X]]
      7 ; CHECK-NEXT: seta %al
      8 ; CHECK-NEXT: ret
      9   %cmp1 = icmp ne i64 %x, -1
     10   %not.cmp = icmp ne i64 %x, 0
     11   %.cmp1 = and i1 %cmp1, %not.cmp
     12   ret i1 %.cmp1
     13 }
     14