The exact IR passes run is customizable via -ir-passes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
60,030 ms | x64 debian > libFuzzer.libFuzzer::value-profile-load.test |
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 | ||
---|---|---|
22 | 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