forked from OSchip/llvm-project
llvm-reduce: reorder passes to run the ones first that delete function bodies; this makes reductions go faster
This commit is contained in:
parent
c24d68fff1
commit
71d1bd1457
|
@ -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) \
|
||||||
|
|
Loading…
Reference in New Issue