summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-10-24 09:24:40 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-10-25 18:09:42 -0400
commit1fd7f201a5afb9e8a26099da5ec86016bb487c92 (patch)
treeffcfcf002fe41d659316610267af2fc762261520
parenta2f53ac8d968723417baadfab5be36a020ea6850 (diff)
downloadhaskell-1fd7f201a5afb9e8a26099da5ec86016bb487c92.tar.gz
llvm-targets: Add datalayouts for big-endian AArch64 targets
Fixes #22311. Thanks to @zeldin for the patch.
-rw-r--r--llvm-targets3
-rwxr-xr-xutils/llvm-targets/gen-data-layout.sh3
2 files changed, 6 insertions, 0 deletions
diff --git a/llvm-targets b/llvm-targets
index ee36e891c4..eb254cffde 100644
--- a/llvm-targets
+++ b/llvm-targets
@@ -21,6 +21,9 @@
,("aarch64-unknown-linux-gnu", ("e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128", "generic", "+neon"))
,("aarch64-unknown-linux-musl", ("e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128", "generic", "+neon"))
,("aarch64-unknown-linux", ("e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128", "generic", "+neon"))
+,("aarch64_be-unknown-linux-gnu", ("E-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128", "generic", "+neon"))
+,("aarch64_be-unknown-linux-musl", ("E-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128", "generic", "+neon"))
+,("aarch64_be-unknown-linux", ("E-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128", "generic", "+neon"))
,("i386-unknown-linux-gnu", ("e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-f64:32:64-f80:32-n8:16:32-S128", "pentium4", ""))
,("i386-unknown-linux-musl", ("e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-f64:32:64-f80:32-n8:16:32-S128", "pentium4", ""))
,("i386-unknown-linux", ("e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-f64:32:64-f80:32-n8:16:32-S128", "pentium4", ""))
diff --git a/utils/llvm-targets/gen-data-layout.sh b/utils/llvm-targets/gen-data-layout.sh
index 75d7d2d64a..2a506b189d 100755
--- a/utils/llvm-targets/gen-data-layout.sh
+++ b/utils/llvm-targets/gen-data-layout.sh
@@ -55,6 +55,9 @@ TARGETS=(
"aarch64-unknown-linux-gnu"
"aarch64-unknown-linux-musl"
"aarch64-unknown-linux"
+ "aarch64_be-unknown-linux-gnu"
+ "aarch64_be-unknown-linux-musl"
+ "aarch64_be-unknown-linux"
# Linux x86
"i386-unknown-linux-gnu"
"i386-unknown-linux-musl"