1 ; RUN: opt -passes=deadargelim -S < %s | FileCheck %s
3 ; Dead arguments should not be removed in presence of `musttail` calls.
5 ; CHECK-LABEL: define internal void @test(i32 %a, i32 %b)
6 ; CHECK: musttail call void @foo(i32 %a, i32 0)
7 ; FIXME: we should replace those with `undef`s
8 define internal void @test(i32 %a, i32 %b) {
9 musttail call void @foo(i32 %a, i32 0)
13 ; CHECK-LABEL: define internal void @foo(i32 %a, i32 %b)
14 define internal void @foo(i32 %a, i32 %b) {