Commit 1476e683 authored by's avatar
Browse files

Allow more than 3 simplifier iterations to be run in phase 0

The number of iterations during the first run of phase 0 was erroneously
hardcoded to 3. It should be *at least* 3 (see comments in code) but can be
parent 368f9fc1
......@@ -848,7 +848,7 @@ getCoreToDo dflags
-- Phase 0: allow all Ids to be inlined now
-- This gets foldr inlined before strictness analysis
MaxSimplifierIterations 3
MaxSimplifierIterations (max max_iter 3)
-- At least 3 iterations because otherwise we land up with
-- huge dead expressions because of an infelicity in the
-- simpifier.
Supports Markdown
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