Skip to content

Commit

Permalink
Change the order of optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
minoki committed Sep 17, 2024
1 parent d092af4 commit e392bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.sml
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,14 @@ struct
val timer = Timer.startCPUTimer ()
val ctx' =
{nextVId = #nextVId ctx, simplificationOccurred = ref false}
val cexp = CpsDeadCodeElimination.goCExp (ctx', cexp)
val cexp = CpsUncurry.goCExp (ctx', cexp)
val cexp = CpsUnpackRecordParameter.goCExp (ctx', cexp)
val cexp = CpsLoopOptimization.goCExp (ctx', cexp)
val cexp = CpsDecomposeRecursive.goCExp (ctx', cexp)
val cexp = CpsConstantRefCell.goCExp (ctx', cexp)
val cexp = CpsInline.goCExp (ctx', cexp)
val cexp = CpsEtaConvert.go (ctx', cexp)
val cexp = CpsDeadCodeElimination.goCExp (ctx', cexp)
in
if #printTimings ctx then
print
Expand Down

0 comments on commit e392bb9

Please sign in to comment.