summaryrefslogtreecommitdiff
path: root/utils/llvm-targets
diff options
context:
space:
mode:
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>2019-10-08 12:32:15 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-10-22 02:39:03 -0400
commitfd8b666acfee5524a2d7c8b845a3782f6a89bec7 (patch)
tree4ce0d732ef341bcffa721f6d25f2cf4dcd476fd8 /utils/llvm-targets
parentaa31ceaf7568802590f73a740ffbc8b800096342 (diff)
downloadhaskell-fd8b666acfee5524a2d7c8b845a3782f6a89bec7.tar.gz
Implement s390x LLVM backend.
This patch adds support for the s390x architecture for the LLVM code generator. The patch includes a register mapping of STG registers onto s390x machine registers which enables a registerised build.
Diffstat (limited to 'utils/llvm-targets')
-rwxr-xr-xutils/llvm-targets/gen-data-layout.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/llvm-targets/gen-data-layout.sh b/utils/llvm-targets/gen-data-layout.sh
index a73da499f3..4f4a1ef079 100755
--- a/utils/llvm-targets/gen-data-layout.sh
+++ b/utils/llvm-targets/gen-data-layout.sh
@@ -70,6 +70,8 @@ TARGETS=(
"powerpc64le-unknown-linux-gnu"
"powerpc64le-unknown-linux-musl"
"powerpc64le-unknown-linux"
+ # Linux s390x
+ "s390x-ibm-linux"
#########################
# Darwin