#4308: LLVM compiles Updates.cmm badly
---------------------------------+------------------------------------------
Reporter: dterei | Owner: dterei
Type: bug | Status: new
Priority: normal | Milestone: 7.2.1
Component: Compiler (LLVM) | Version: 6.13
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: x86_64 (amd64) | Failure: Runtime performance bug
---------------------------------+------------------------------------------
Comment(by simonmar):
In the current (aka old) codegen you have to build the control-flow graph
yourself, but it's not hard: look at `sccBlocks` in
`nativeGen/AsmCodeGen.lhs`.
I'm not sure how much work it would be to do this properly, certainly you
would have to change the `CmmJump` constructor to add the information, and
make sure it gets correctly generated in the stg->Cmm pass.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4308#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs