Varargs and inalloca have a weird interaction where varargs are actually
passed via the inalloca alloca. Removing inalloca breaks the varargs
because they're still not passed as separate arguments.
Fixes #58718
Paths
| Differential D137182
[GlobalOpt] Don't remove inalloca from varargs functions ClosedPublic Authored by aeubanks on Nov 1 2022, 11:39 AM.
Details
Summary Varargs and inalloca have a weird interaction where varargs are actually Fixes #58718
Diff Detail
Unit TestsFailed
Event TimelineThis revision is now accepted and ready to land.Nov 1 2022, 11:51 AM This revision was landed with ongoing or failed builds.Nov 1 2022, 1:04 PM Closed by commit rG8c49b01a1ee0: [GlobalOpt] Don't remove inalloca from varargs functions (authored by aeubanks). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 472363 llvm/lib/Transforms/IPO/GlobalOpt.cpp
llvm/test/Transforms/GlobalOpt/inalloca-varargs.ll
|