• kgardas's avatar
    enable ARM specific target data layout and triple again · 748883b4
    kgardas authored
    This patch is allowed by the 'on ARMv7 with VFPv3[D16] support pass
     appropriate -mattr value to LLVM llc' patch. The trick is that LLVM
    by default (probably!) does not enable VFP, but GHC requires it
    so LLVM's llc asserts on unavailable floating point register. i.e. GHC/LLVM
    backend compiles into LLVM code which is using floats, but llc thinks
    no float regs for this are available. Passing appropriate llc option
    which is implemented in patch mentioned above fixes this issue.
Ppr.hs 5.32 KB