Follow-up to D43690, the EliminateAvailableExternally pass currently
runs under -O0 and -O2 and up. Under -O1 we would still want to drop
available_externally symbols to reduce space without inlining having
run.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
test/Other/opt-O1-pipeline.ll | ||
---|---|---|
166 ↗ | (On Diff #144034) | Highlighting the relevant portion of this test. |
Comment Actions
LGTM
I just checked the new PM and it does seem to run this already at O1 (at least, by visual inspection of the code it appears to). OTOH the new PM doesn't appear to run any opt passes at -O0, so that's a bit different than what is happening in the old PM, but that is a separate issue.