You've already forked linux-packaging-mono
Imported Upstream version 6.4.0.137
Former-commit-id: 943baa9f16a098c33e129777827f3a9d20da00d6
This commit is contained in:
parent
e9207cf623
commit
ef583813eb
16
external/llvm/test/Transforms/DeadArgElim/musttail-caller.ll
vendored
Normal file
16
external/llvm/test/Transforms/DeadArgElim/musttail-caller.ll
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
; RUN: opt -deadargelim -S < %s | FileCheck %s
|
||||
; PR36441
|
||||
; Dead arguments should not be removed in presence of `musttail` calls.
|
||||
|
||||
; CHECK-LABEL: define internal void @test(i32 %a, i32 %b)
|
||||
; CHECK: musttail call void @foo(i32 %a, i32 0)
|
||||
; FIXME: we should replace those with `undef`s
|
||||
define internal void @test(i32 %a, i32 %b) {
|
||||
musttail call void @foo(i32 %a, i32 0)
|
||||
ret void
|
||||
}
|
||||
|
||||
; CHECK-LABEL: define internal void @foo(i32 %a, i32 %b)
|
||||
define internal void @foo(i32 %a, i32 %b) {
|
||||
ret void
|
||||
}
|
Reference in New Issue
Block a user