Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
f20b0d8a
Commit
f20b0d8a
authored
May 19, 2009
by
Ben.Lippmeier@anu.edu.au
Browse files
Don't try and coalesce RealReg->RealReg moves
parent
f9288086
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/nativeGen/RegAlloc/Graph/Main.hs
View file @
f20b0d8a
...
...
@@ -311,9 +311,13 @@ graphAddCoalesce (r1, r2) graph
(
vr2
,
classOfVirtualReg
vr2
)
graph
|
otherwise
=
panic
"RegAlloc.Graph.Main.graphAddCoalesce: can't coalesce two real regs"
-- We can't coalesce two real regs, but there could well be existing
-- hreg,hreg moves in the input code. We'll just ignore these
-- for coalescing purposes.
|
RegReal
_
<-
r1
,
RegReal
_
<-
r2
=
graph
-- | Patch registers in code using the reg -> reg mapping in this graph.
patchRegsFromGraph
...
...
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