Merged: Fix two bugs in caes-floating (fixes Trac #5453)
Changeset bd6f5de7 Author: Simon Peyton Jones <simonpj@microsoft.com> Fix two bugs in caes-floating (fixes Trac #5453) The problem is documented in the ticket. The patch does two things 1. Make exprOkForSpeculation return False for a non-exhaustive case 2. In SetLevels?.lvlExpr, look at the *result* scrutinee, not the *input* scrutinee, when testing for evaluated-ness
Showing
- compiler/coreSyn/CoreUtils.lhs 40 additions, 1 deletioncompiler/coreSyn/CoreUtils.lhs
- compiler/simplCore/FloatOut.lhs 3 additions, 1 deletioncompiler/simplCore/FloatOut.lhs
- compiler/simplCore/SetLevels.lhs 105 additions, 52 deletionscompiler/simplCore/SetLevels.lhs
- docs/users_guide/7.2.2-notes.xml 8 additions, 0 deletionsdocs/users_guide/7.2.2-notes.xml
Loading
Please register or sign in to comment