1 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu \
2 ; RUN: -mcpu=pwr8 -ppc-asm-full-reg-names < %s | FileCheck %s
4 define dso_local signext i32 @func(i32 zeroext %x, i32 zeroext %y) local_unnamed_addr {
6 ; CHECK: or. {{r[0-9]+}}, r4, r3
11 %tobool = icmp eq i32 %or, 0
12 br i1 %tobool, label %if.else, label %if.then
14 if.then: ; preds = %entry
15 %call = tail call signext i32 @f1()
18 if.else: ; preds = %entry
19 %call1 = tail call signext i32 @f2()
22 return: ; preds = %if.else, %if.then
23 %retval.0 = phi i32 [ %call, %if.then ], [ %call1, %if.else ]
27 declare signext i32 @f1(...) local_unnamed_addr
29 declare signext i32 @f2(...) local_unnamed_addr