diff options
Diffstat (limited to 'compiler/GHC/Core/Opt/FloatIn.hs')
-rw-r--r-- | compiler/GHC/Core/Opt/FloatIn.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Core/Opt/FloatIn.hs b/compiler/GHC/Core/Opt/FloatIn.hs index 3b25e42764..c5b8acc7f6 100644 --- a/compiler/GHC/Core/Opt/FloatIn.hs +++ b/compiler/GHC/Core/Opt/FloatIn.hs @@ -407,7 +407,7 @@ floating in cases with a single alternative that may bind values. But there are wrinkles -* Which unlifted cases do we float? See PrimOp.hs +* Which unlifted cases do we float? See GHC.Builtin.PrimOps Note [PrimOp can_fail and has_side_effects] which explains: - We can float-in can_fail primops, but we can't float them out. - But we can float a has_side_effects primop, but NOT inside a lambda, |