summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-08-10 09:21:53 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-08-14 15:51:10 -0400
commit55fd1dc55990623dcf3b2e6143e766242315d757 (patch)
tree992ce40bd984fdbcdc8755534eef2e26fb09efed
parent9f66fdf69b7bcdacbfc46e636668ad0fe509b1b6 (diff)
downloadhaskell-55fd1dc55990623dcf3b2e6143e766242315d757.tar.gz
llvm-targets: Add i686 targets
Addresses #18422.
-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 074179c982..d94160d5a0 100644
--- a/llvm-targets
+++ b/llvm-targets
@@ -24,6 +24,9 @@
,("i386-unknown-linux-gnu", ("e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128", "pentium4", ""))
,("i386-unknown-linux-musl", ("e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128", "pentium4", ""))
,("i386-unknown-linux", ("e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128", "pentium4", ""))
+,("i686-unknown-linux-gnu", ("e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128", "pentium4", ""))
+,("i686-unknown-linux-musl", ("e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128", "pentium4", ""))
+,("i686-unknown-linux", ("e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128", "pentium4", ""))
,("x86_64-unknown-linux-gnu", ("e-m:e-i64:64-f80:128-n8:16:32:64-S128", "x86-64", ""))
,("x86_64-unknown-linux-musl", ("e-m:e-i64:64-f80:128-n8:16:32:64-S128", "x86-64", ""))
,("x86_64-unknown-linux", ("e-m:e-i64:64-f80:128-n8:16:32:64-S128", "x86-64", ""))
diff --git a/utils/llvm-targets/gen-data-layout.sh b/utils/llvm-targets/gen-data-layout.sh
index 22f8eeab69..5732e8be43 100755
--- a/utils/llvm-targets/gen-data-layout.sh
+++ b/utils/llvm-targets/gen-data-layout.sh
@@ -59,6 +59,9 @@ TARGETS=(
"i386-unknown-linux-gnu"
"i386-unknown-linux-musl"
"i386-unknown-linux"
+ "i686-unknown-linux-gnu"
+ "i686-unknown-linux-musl"
+ "i686-unknown-linux"
"x86_64-unknown-linux-gnu"
"x86_64-unknown-linux-musl"
"x86_64-unknown-linux"