You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.246
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
This commit is contained in:
parent
a7724cd563
commit
279aa8f685
24
external/llvm/test/Transforms/TailCallElim/notail.ll
vendored
Normal file
24
external/llvm/test/Transforms/TailCallElim/notail.ll
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
; RUN: opt < %s -tailcallelim -S | FileCheck %s
|
||||
|
||||
; CHECK: tail call void @callee0()
|
||||
; CHECK: notail call void @callee1()
|
||||
|
||||
define void @foo1(i32 %a) {
|
||||
entry:
|
||||
%tobool = icmp eq i32 %a, 0
|
||||
br i1 %tobool, label %if.else, label %if.then
|
||||
|
||||
if.then:
|
||||
call void @callee0()
|
||||
br label %if.end
|
||||
|
||||
if.else:
|
||||
notail call void @callee1()
|
||||
br label %if.end
|
||||
|
||||
if.end:
|
||||
ret void
|
||||
}
|
||||
|
||||
declare void @callee0()
|
||||
declare void @callee1()
|
Reference in New Issue
Block a user