The exact IR passes run is customizable via -ir-passes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I'm not sure how useful running *all* passes is as a reduction strategy. I think an option to run specific passes would be more useful. For example I get a lot of mileage out of running InferAddressSpaces on testcases I'm reducing, most of which are extremely sensitive to IR changes and are easily hidden by running all optimizations
llvm/tools/llvm-reduce/deltas/RunIRPasses.cpp | ||
---|---|---|
21 | put SROA at the start of this list? I'd also argue for SCCP and DCE but I don't feel that strongly about it |
Comment Actions
LGTM but happy to wait for Matt's view.
I like putting the oracle check in a callback, very cute!
put SROA at the start of this list?
I'd also argue for SCCP and DCE but I don't feel that strongly about it