[GHC] #13442: Add a coercion/cast operator to CMM
GHC
ghc-devs at haskell.org
Sun Mar 19 14:25:57 UTC 2017
#13442: Add a coercion/cast operator to CMM
-------------------------------------+-------------------------------------
Reporter: erikd | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.4.1
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by rwbarton):
It should be
{{{
d = D_[Sp - WDS(1)];
}}}
`Sp(-1)` is already a memory access ("the value at `Sp - WDS(1)`").
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13442#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list