From 463ab1e07a0a15a9aa129639048e29e0f8ec4dc8 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 10 Feb 2023 10:00:53 -0400 Subject: 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. --- llvm/tools/llvm-reduce/DeltaManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/tools/llvm-reduce/DeltaManager.cpp') 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 #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 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, -- cgit v1.1