llvm-reduce: reorder passes to run the ones first that delete function bodies; this makes reductions go faster

This commit is contained in:
John Regehr 2022-08-02 10:32:49 -06:00
parent c24d68fff1
commit 71d1bd1457
1 changed files with 2 additions and 2 deletions

View File

@ -54,10 +54,10 @@ static cl::opt<std::string>
#define DELTA_PASSES \ #define DELTA_PASSES \
do { \ do { \
DELTA_PASS("functions", reduceFunctionsDeltaPass) \
DELTA_PASS("function-bodies", reduceFunctionBodiesDeltaPass) \
DELTA_PASS("special-globals", reduceSpecialGlobalsDeltaPass) \ DELTA_PASS("special-globals", reduceSpecialGlobalsDeltaPass) \
DELTA_PASS("aliases", reduceAliasesDeltaPass) \ DELTA_PASS("aliases", reduceAliasesDeltaPass) \
DELTA_PASS("function-bodies", reduceFunctionBodiesDeltaPass) \
DELTA_PASS("functions", reduceFunctionsDeltaPass) \
DELTA_PASS("basic-blocks", reduceBasicBlocksDeltaPass) \ DELTA_PASS("basic-blocks", reduceBasicBlocksDeltaPass) \
DELTA_PASS("global-values", reduceGlobalValuesDeltaPass) \ DELTA_PASS("global-values", reduceGlobalValuesDeltaPass) \
DELTA_PASS("global-objects", reduceGlobalObjectsDeltaPass) \ DELTA_PASS("global-objects", reduceGlobalObjectsDeltaPass) \