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 ...@@ -85,8 +85,8 @@ widthToLlvmInt w = LMInt $ widthInBits w
-- | GHC Call Convention for LLVM -- | GHC Call Convention for LLVM
llvmGhcCC :: DynFlags -> LlvmCallConvention llvmGhcCC :: DynFlags -> LlvmCallConvention
llvmGhcCC dflags llvmGhcCC dflags
| platformUnregisterised (targetPlatform dflags) = CC_Ncc 10 | platformUnregisterised (targetPlatform dflags) = CC_Ccc
| otherwise = CC_Ccc | otherwise = CC_Ncc 10
-- | Llvm Function type for Cmm function -- | Llvm Function type for Cmm function
llvmFunTy :: DynFlags -> LlvmType 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