[Pipelines] Add a test how DCE works after ArgumentPromotion
The ArgumentPromotion pass uses Mem2Reg promotion at the end to cutting down generated alloca instructions as well as meaningless stores and this behavior can leave unused (dead) arguments. The test shows that the arguments are not removed in the current optimization pipeline.
parent
1579fc62
Please register or sign in to comment