Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
6251f729
Commit
6251f729
authored
Apr 15, 2011
by
Edward Z. Yang
Browse files
Revert "Generalized assignment rewriting pass."
This reverts commit
2ec79623
.
parent
2ec79623
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
compiler/cmm/CmmCPS.hs
View file @
6251f729
...
...
@@ -95,8 +95,9 @@ cpsTop hsc_env (CmmProc h@(TopInfo {stack_info=StackInfo {arg_space=entry_off}})
(
dualLivenessWithInsertion
procPoints
)
g
-- Insert spills at defns; reloads at return points
g
<-
runOptimization
$
rewriteAssignments
g
dump
Opt_D_dump_cmmz
"Post rewrite assignments"
g
-- pprTrace "pre insertLateReloads" (ppr g) $
runOptimization
$
insertLateReloads
g
-- Duplicate reloads just before uses
dump
Opt_D_dump_cmmz
"Post late reloads"
g
g
<-
-- pprTrace "post insertLateReloads" (ppr g) $
dual_rewrite
runOptimization
Opt_D_dump_cmmz
"Dead Assignment Elimination"
...
...
compiler/cmm/CmmSpillReload.hs
View file @
6251f729
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment