summaryrefslogtreecommitdiff
path: root/compiler/GHC/CmmToAsm/Reg/Graph/SpillClean.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/CmmToAsm/Reg/Graph/SpillClean.hs')
-rw-r--r--compiler/GHC/CmmToAsm/Reg/Graph/SpillClean.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/GHC/CmmToAsm/Reg/Graph/SpillClean.hs b/compiler/GHC/CmmToAsm/Reg/Graph/SpillClean.hs
index ec77d91185..a5016abc6f 100644
--- a/compiler/GHC/CmmToAsm/Reg/Graph/SpillClean.hs
+++ b/compiler/GHC/CmmToAsm/Reg/Graph/SpillClean.hs
@@ -5,6 +5,7 @@
-- Handling of join points
-- ~~~~~~~~~~~~~~~~~~~~~~~
--
+-- @
-- B1: B2:
-- ... ...
-- RELOAD SLOT(0), %r1 RELOAD SLOT(0), %r1
@@ -14,9 +15,11 @@
-- B3: ... C ...
-- RELOAD SLOT(0), %r1
-- ...
+-- @
--
-- The Plan
-- ~~~~~~~~
+--
-- As long as %r1 hasn't been written to in A, B or C then we don't need
-- the reload in B3.
--