OSDN Git Service

[GlobalOpt] Don't remove inalloca from musttail-called functions
authorHans Wennborg <hans@chromium.org>
Tue, 7 Jul 2020 12:51:34 +0000 (14:51 +0200)
committerHans Wennborg <hans@chromium.org>
Tue, 7 Jul 2020 17:02:46 +0000 (19:02 +0200)
commit7fc279ca3d414c0997998cb30d1adc2c63c837a5
tree6b2830d6bff26d41c5ed4d3fd368386c264126ca
parent642eed37134db4aca953704d1e4ae856af675f51
[GlobalOpt] Don't remove inalloca from musttail-called functions

Otherwise the verifier complains about the mismatching function ABIs.

Differential revision: https://reviews.llvm.org/D83300
llvm/lib/Transforms/IPO/GlobalOpt.cpp
llvm/test/Transforms/GlobalOpt/fastcc.ll