]> granicus.if.org Git - llvm/commit
Merging r326394: release_60 origin/release_60
authorTom Stellard <tstellar@redhat.com>
Tue, 12 Jun 2018 01:39:23 +0000 (01:39 +0000)
committerTom Stellard <tstellar@redhat.com>
Tue, 12 Jun 2018 01:39:23 +0000 (01:39 +0000)
commit5136df4d089a086b70d452160ad5451861269498
tree2ca6d545035ab96147ef2cee91b06b0297129b8a
parent2c9cf4f65f36fe91710c4b1bfd2f8d9533ac01b5
Merging r326394:

------------------------------------------------------------------------
r326394 | rnk | 2018-02-28 16:09:35 -0800 (Wed, 28 Feb 2018) | 10 lines

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

`musttail` requires identical signatures of caller and callee. Removing
arguments breaks `musttail` semantics.

PR36441

Patch by Fedor Indutny

Differential Revision: https://reviews.llvm.org/D43708
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_60@334464 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/DeadArgumentElimination.cpp
test/Transforms/DeadArgElim/musttail-caller.ll [new file with mode: 0644]