Preserve precise exceptions in strictness analysis
Fix #13380 (closed) and #17676 (closed) by
- Changing
raiseIO#
to havetopDiv
instead ofbotDiv
- Give it special treatment in
Simplifier.Util.mkArgInfo
, treating it as if it still hadbotDiv
, to recover dead code elimination.
This is the first commit of the plan outlined in !2525 (comment 260886).
Edited by Sebastian Graf