On Sun, Jan 29, 2017 at 2:51 PM, Ken Cunningham <
[email protected]> wrote:

> > GHC still uses 3.5. I want to change that, but haven't found the time.
>
> Not any more it doesn't. Not sure if it works when built against
> llvm-3.9, but here is the commit:


It's mot enough to change the dependency. ghc's LLVM backend is wired to
specific LLVM versions because the LLVM IR annotations keep changing in
incompatible ways; if you want to use a given ghc version with a different
LLVM version, you will need to dig out the patches that update its
generated IR to match, or -fllvm will produce syntax errors from LLVM.


-- 
brandon s allbery kf8nh                               sine nomine associates
[email protected]                                  [email protected]
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Reply via email to