From e58d5eeb90fb0c35ff08d8d9f752eab74fc9889e Mon Sep 17 00:00:00 2001 From: Simon Peyton Jones Date: Thu, 7 Apr 2022 23:36:24 +0100 Subject: Tiny documentation wibble This commit commit 83363c8b04837ee871a304cf85207cf79b299fb0 Author: Simon Peyton Jones Date: Fri Mar 11 16:55:38 2022 +0000 Use prepareBinding in tryCastWorkerWrapper refactored completeNonRecX away, but left a Note referring to it. This MR fixes that Note. --- compiler/GHC/Core/Opt/Simplify.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/GHC/Core/Opt/Simplify.hs b/compiler/GHC/Core/Opt/Simplify.hs index e6f803b512..e1b54cf5da 100644 --- a/compiler/GHC/Core/Opt/Simplify.hs +++ b/compiler/GHC/Core/Opt/Simplify.hs @@ -1772,8 +1772,8 @@ Note [Avoiding exponential behaviour] One way in which we can get exponential behaviour is if we simplify a big expression, and the re-simplify it -- and then this happens in a deeply-nested way. So we must be jolly careful about re-simplifying -an expression. That is why completeNonRecX does not try -preInlineUnconditionally. +an expression. That is why simplNonRecX does not try +preInlineUnconditionally (unlike simplNonRecE). Example: f BIG, where f has a RULE -- cgit v1.2.1