1; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 -mattr=-vsx | FileCheck %s --check-prefix=ELF64
2
3define zeroext i1 @testi1(i8 %in) nounwind uwtable ssp {
4entry:
5  %c = icmp eq i8 %in, 5
6  br i1 %c, label %true, label %false
7
8; ELF64-LABEL: @testi1
9
10true:
11  br label %end
12
13; ELF64-NOT: li {{[0-9]+}}, -1
14; ELF64: li {{[0-9]+}}, 1
15
16false:
17  br label %end
18
19; ELF64: li {{[0-9]+}}, 0
20
21end:
22  %r = phi i1 [ 0, %false], [ 1, %true ]
23  ret i1 %r
24
25; ELF64: blr
26}
27
28