llvm-reduce: Improve delta pass flag handling
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 10 Oct 2022 18:02:47 +0000 (11:02 -0700)
committerMatt Arsenault <arsenm2@gmail.com>
Thu, 13 Oct 2022 00:25:23 +0000 (17:25 -0700)
commitc3bc72ccb23eb13aa6efba81adf68a0518eebc52
tree0eee8a1c56ff7c37ff9854f9998019a6e795614e
parent0ec3ac9b7fbd15698af7289e1214e8ff3d82ec14
llvm-reduce: Improve delta pass flag handling

Verify all the requested passes exist before trying to run any.
For long reductions, it was really annoying for it to get halfway through
and then I come back later to an incomplete reduction.

Also add a new skip-delta-passes flag. Most of the time I want to opt out
of specific reductions, rather than run a select few.
llvm/test/tools/llvm-reduce/skip-delta-passes.ll [new file with mode: 0644]
llvm/tools/llvm-reduce/DeltaManager.cpp