aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-reduce/DeltaManager.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2023-02-10 10:00:53 -0400
committerMatt Arsenault <arsenm2@gmail.com>2023-02-14 04:02:38 -0400
commit463ab1e07a0a15a9aa129639048e29e0f8ec4dc8 (patch)
tree2bf5e4cd145f7f62bc7238249236624019d0280a /llvm/tools/llvm-reduce/DeltaManager.cpp
parent04f69345894dc6f750b25e7cfb1d4240817203a7 (diff)
downloadllvm-463ab1e07a0a15a9aa129639048e29e0f8ec4dc8.zip
llvm-463ab1e07a0a15a9aa129639048e29e0f8ec4dc8.tar.gz
llvm-463ab1e07a0a15a9aa129639048e29e0f8ec4dc8.tar.bz2
llvm-reduce: Run instruction reduction last
With the current state of mir support, this is going to generate a large number of verifier errors. Running the use and def reductions first helps to mitigate the impact of this.
Diffstat (limited to 'llvm/tools/llvm-reduce/DeltaManager.cpp')
-rw-r--r--llvm/tools/llvm-reduce/DeltaManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-reduce/DeltaManager.cpp b/llvm/tools/llvm-reduce/DeltaManager.cpp
index bfe299c..d3f1c2b 100644
--- a/llvm/tools/llvm-reduce/DeltaManager.cpp
+++ b/llvm/tools/llvm-reduce/DeltaManager.cpp
@@ -112,7 +112,6 @@ static cl::list<std::string>
#define DELTA_PASSES_MIR \
do { \
- DELTA_PASS("instructions", reduceInstructionsMIRDeltaPass) \
DELTA_PASS("ir-instruction-references", \
reduceIRInstructionReferencesDeltaPass) \
DELTA_PASS("ir-block-references", reduceIRBlockReferencesDeltaPass) \
@@ -122,6 +121,7 @@ static cl::list<std::string>
DELTA_PASS("register-defs", reduceRegisterDefsMIRDeltaPass) \
DELTA_PASS("register-hints", reduceVirtualRegisterHintsDeltaPass) \
DELTA_PASS("register-masks", reduceRegisterMasksMIRDeltaPass) \
+ DELTA_PASS("instructions", reduceInstructionsMIRDeltaPass) \
} while (false)
static void runAllDeltaPasses(TestRunner &Tester,