Commit d4ac7d81 authored by Simon Marlow's avatar Simon Marlow
Browse files

Fix inverted test for platformUnregisterised (should fix the optllvm breakage)

parent 397606d6
......@@ -85,8 +85,8 @@ widthToLlvmInt w = LMInt $ widthInBits w
-- | GHC Call Convention for LLVM
llvmGhcCC :: DynFlags -> LlvmCallConvention
llvmGhcCC dflags
| platformUnregisterised (targetPlatform dflags) = CC_Ncc 10
| otherwise = CC_Ccc
| platformUnregisterised (targetPlatform dflags) = CC_Ccc
| otherwise = CC_Ncc 10
-- | Llvm Function type for Cmm function
llvmFunTy :: DynFlags -> LlvmType
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment