1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-unknown \
3; RUN:   -ppc-asm-full-reg-names < %s | FileCheck %s
4
5@bar = external constant i64, align 8
6
7define i1 @foo() {
8; CHECK-LABEL: foo:
9; CHECK:       # %bb.0: # %entry
10; CHECK-NEXT:    li r3, 0
11; CHECK-NEXT:    blr
12entry:
13  br label %next
14
15next:
16  br i1 undef, label %true, label %false
17
18true:
19  br label %end
20
21false:
22  br label %end
23
24end:
25  %a = phi i1 [ icmp ugt (i64 0, i64 ptrtoint (i64* @bar to i64)), %true ],
26              [ icmp ugt (i64 0, i64 2), %false ]
27  ret i1 %a
28}
29