You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
669 B
30 lines
669 B
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-unknown \
|
|
; RUN: -ppc-asm-full-reg-names < %s | FileCheck %s
|
|
|
|
@bar = external constant i64, align 8
|
|
|
|
define i1 @foo() {
|
|
; CHECK-LABEL: foo:
|
|
; CHECK: # %bb.0: # %entry
|
|
; CHECK-NEXT: li r3, 0
|
|
; CHECK-NEXT: isel r3, 0, r3, 4*cr5+lt
|
|
; CHECK-NEXT: blr
|
|
entry:
|
|
br label %next
|
|
|
|
next:
|
|
br i1 undef, label %true, label %false
|
|
|
|
true:
|
|
br label %end
|
|
|
|
false:
|
|
br label %end
|
|
|
|
end:
|
|
%a = phi i1 [ icmp ugt (i64 0, i64 ptrtoint (i64* @bar to i64)), %true ],
|
|
[ icmp ugt (i64 0, i64 2), %false ]
|
|
ret i1 %a
|
|
}
|