[llvm] 463ab1e - llvm-reduce: Run instruction reduction last
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 14 00:02:45 PST 2023
Author: Matt Arsenault
Date: 2023-02-14T04:02:38-04:00
New Revision: 463ab1e07a0a15a9aa129639048e29e0f8ec4dc8
URL: https://github.com/llvm/llvm-project/commit/463ab1e07a0a15a9aa129639048e29e0f8ec4dc8
DIFF: https://github.com/llvm/llvm-project/commit/463ab1e07a0a15a9aa129639048e29e0f8ec4dc8.diff
LOG: 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.
Added:
Modified:
llvm/tools/llvm-reduce/DeltaManager.cpp
Removed:
################################################################################
diff --git a/llvm/tools/llvm-reduce/DeltaManager.cpp b/llvm/tools/llvm-reduce/DeltaManager.cpp
index bfe299c8b7575..d3f1c2b509f14 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,
More information about the llvm-commits
mailing list