You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
41
external/llvm/test/CodeGen/PowerPC/no-pref-jumps.ll
vendored
Normal file
41
external/llvm/test/CodeGen/PowerPC/no-pref-jumps.ll
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
; XFAIL: *
|
||||
; RUN: llc -verify-machineinstrs -mcpu=pwr7 < %s | FileCheck %s
|
||||
target datalayout = "E-m:e-i64:64-n32:64"
|
||||
target triple = "powerpc64-unknown-linux-gnu"
|
||||
|
||||
; Function Attrs: nounwind
|
||||
define void @foo(i32 signext %a, i32 signext %b) #0 {
|
||||
entry:
|
||||
%cmp = icmp sgt i32 %a, 5
|
||||
%cmp1 = icmp slt i32 %b, 3
|
||||
%or.cond = or i1 %cmp, %cmp1
|
||||
br i1 %or.cond, label %if.then, label %if.else
|
||||
|
||||
; CHECK-LABEL: @foo
|
||||
; CHECK: li
|
||||
; CHECK: li
|
||||
; CHECK: sub
|
||||
; CHECK: sub
|
||||
; CHECK: rldicl
|
||||
; CHECK: rldicl
|
||||
; CHECK: or.
|
||||
; CHECK: blr
|
||||
|
||||
if.then: ; preds = %entry
|
||||
tail call void bitcast (void (...)* @bar to void ()*)() #0
|
||||
br label %if.end
|
||||
|
||||
if.else: ; preds = %entry
|
||||
tail call void bitcast (void (...)* @car to void ()*)() #0
|
||||
br label %if.end
|
||||
|
||||
if.end: ; preds = %if.else, %if.then
|
||||
ret void
|
||||
}
|
||||
|
||||
declare void @bar(...)
|
||||
|
||||
declare void @car(...)
|
||||
|
||||
attributes #0 = { nounwind }
|
||||
|
Reference in New Issue
Block a user