1 ; RUN: llc < %s -march=x86-64 | FileCheck %s
3 define i64 @test0(i64 %x) nounwind {
8 ; CHECK: testq %rdi, %rdi
10 ; CHECK: movzbl %al, %eax
14 define i64 @test1(i64 %x) nounwind {
15 %t = icmp slt i64 %x, 1
16 %r = zext i1 %t to i64
19 ; CHECK: testq %rdi, %rdi
21 ; CHECK: movzbl %al, %eax