[PATCH] D43708: [DAE] don't remove args of musttail target/caller

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 26 16:19:48 PST 2018


rnk added a comment.

Thanks for the fix!



================
Comment at: test/Transforms/DeadArgElim/musttail-caller.ll:6
+
+; CHECK-LABEL: define internal void @test(i32 %a, i32 %b)
+define internal void @test(i32 %a, i32 %b) {
----------------
Do we pass `undef` to the call? That would be correct. It doesn't matter what we pass, so long as we match the prototype.


https://reviews.llvm.org/D43708





More information about the llvm-commits mailing list