LLVM backend needs to use `-globalopt` explicitly
While -O1
and -O2
includes a -globalopt
pass, for reasons I don't entirely understand the location of the pass is such that not all aliases are eliminated. My ghc-7.8
branch includes a patch fixing this (as well as removing ARM from the dynamic linking blacklist)[1].
[1] https://github.com/bgamari/ghc/commits/ghc-7.8
Trac metadata
Trac field | Value |
---|---|
Version | 7.8.1-rc1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | scpmw@leeds.ac.uk, Peter, Wortmann |
Operating system | |
Architecture |