1 ; RUN: llc < %s -mcpu=generic -march=x86-64 -asm-verbose=false | FileCheck %s
3 define zeroext i1 @test0(i64 %x) nounwind {
5 ; CHECK-NEXT: incq %[[X:rdi|rcx]]
6 ; CHECK-NEXT: cmpq $1, %[[X]]
9 %cmp1 = icmp ne i64 %x, -1
10 %not.cmp = icmp ne i64 %x, 0
11 %.cmp1 = and i1 %cmp1, %not.cmp