Run literal rematerializer before for loop condition out of body.

This commit is contained in:
chriseth 2019-10-30 17:29:54 +01:00
parent 1cc5a03e42
commit 02d5b7c18a

View File

@ -141,6 +141,7 @@ void OptimiserSuite::run(
LiteralRematerialiser::name,
ConditionalUnsimplifier::name,
StructuralSimplifier::name,
LiteralRematerialiser::name,
ForLoopConditionOutOfBody::name,
ControlFlowSimplifier::name,
StructuralSimplifier::name,
@ -217,6 +218,7 @@ void OptimiserSuite::run(
RedundantAssignEliminator::name,
LoadResolver::name,
ExpressionSimplifier::name,
LiteralRematerialiser::name,
ForLoopConditionOutOfBody::name,
StructuralSimplifier::name,
BlockFlattener::name,