[GHC] #8410: NCG sometimes produces code like `addl $0 ...`
GHC
ghc-devs
Sat Oct 5 07:23:28 UTC 2013
#8410: NCG sometimes produces code like `addl $0 ...`
------------------------------------+-------------------------------------
Reporter: schyler | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.6.3
Keywords: | Operating System: Unknown/Multiple
Architecture: Unknown/Multiple | Type of failure: None/Unknown
Difficulty: Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: |
------------------------------------+-------------------------------------
See the haskell and ASM output;
https://gist.github.com/kvanberendonck/6837792
Search for `addl $0` in your browser and you'll see a couple occurrences.
This is a useless instruction. It would be a minor optimization to not
emit these.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8410>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list