Commit a618f382 authored by rl@cse.unsw.edu.au's avatar rl@cse.unsw.edu.au
Browse files

Vectorise even with -O0

parent f5edc6b0
......@@ -873,9 +873,10 @@ getCoreToDo dflags
MaxSimplifierIterations max_iter
]
core_todo =
core_todo =
if opt_level == 0 then
[simpl_phase 0 ["final"] max_iter]
[runWhen vectorisation (CoreDoPasses [ simpl_gently, CoreDoVectorisation ]),
simpl_phase 0 ["final"] max_iter]
else {- opt_level >= 1 -} [
-- We want to do the static argument transform before full laziness as it
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment