summaryrefslogtreecommitdiff
path: root/compiler/llvmGen/LlvmCodeGen
diff options
context:
space:
mode:
authorKarel Gardas <karel.gardas@centrum.cz>2011-07-14 22:21:09 +0200
committerManuel M T Chakravarty <chak@cse.unsw.edu.au>2011-08-10 22:03:41 +1000
commit5cf87b43993f5fd2884755cd16268c2f40572026 (patch)
treeb1206a885682b8cd95fa48c0b997fb74b57a6b43 /compiler/llvmGen/LlvmCodeGen
parent0ce75cf91d0d7beb082543345c5c9f2789073ffe (diff)
downloadhaskell-5cf87b43993f5fd2884755cd16268c2f40572026.tar.gz
disable for now ARM specific target data layout and triple
This patch disables ARM specific target data layout and triple. The reason for this is that LLVM asserts on some files if this is in use. The assert looks: Formal argument #8 has unhandled type i32UNREACHABLE executed at /llvm-ghc-arm/lib/CodeGen/CallingConvLower.cpp:81!
Diffstat (limited to 'compiler/llvmGen/LlvmCodeGen')
-rw-r--r--compiler/llvmGen/LlvmCodeGen/Ppr.hs10
1 files changed, 5 insertions, 5 deletions
diff --git a/compiler/llvmGen/LlvmCodeGen/Ppr.hs b/compiler/llvmGen/LlvmCodeGen/Ppr.hs
index 399a82f451..2f4fbfab16 100644
--- a/compiler/llvmGen/LlvmCodeGen/Ppr.hs
+++ b/compiler/llvmGen/LlvmCodeGen/Ppr.hs
@@ -51,12 +51,12 @@ moduleLayout =
$+$ text "target triple = \"x86_64-linux-gnu\""
#endif
-#elif defined (arm_TARGET_ARCH)
+-- #elif defined (arm_TARGET_ARCH)
-#if linux_TARGET_OS
- text "target datalayout = \"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:64:128-a0:0:64-n32\""
- $+$ text "target triple = \"arm-unknown-linux-gnueabi\""
-#endif
+-- #if linux_TARGET_OS
+-- text "target datalayout = \"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:64:128-a0:0:64-n32\""
+-- $+$ text "target triple = \"arm-unknown-linux-gnueabi\""
+-- #endif
#else
-- FIX: Other targets