forked from OSchip/llvm-project
1c530500ab
The ArgumentPromotion pass uses Mem2Reg promotion at the end to cutting down generated `alloca` instructions as well as meaningless `store`s and this behavior can leave unused (dead) arguments. To eliminate the dead arguments and therefore let the DeadCodeElimination remove becoming dead inserted `GEP`s as well as `load`s and `cast`s in the callers, the DeadArgumentElimination pass should be run after the ArgumentPromotion one. Differential Revision: https://reviews.llvm.org/D128830 |
||
---|---|---|
.. | ||
debuginfo-tests | ||
intrinsic-header-tests | ||
CMakeLists.txt | ||
lit.cfg.py | ||
lit.site.cfg.py.in |