Revert "llvm-reduce: Run instruction reduction last"
authorFlorian Mayer <fmayer@google.com>
Tue, 14 Feb 2023 21:45:39 +0000 (13:45 -0800)
committerFlorian Mayer <fmayer@google.com>
Tue, 14 Feb 2023 21:45:39 +0000 (13:45 -0800)
This reverts commit 463ab1e07a0a15a9aa129639048e29e0f8ec4dc8.

llvm/tools/llvm-reduce/DeltaManager.cpp

index d3f1c2b..bfe299c 100644 (file)
@@ -112,6 +112,7 @@ 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)        \
@@ -121,7 +122,6 @@ 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,