summaryrefslogtreecommitdiff
path: root/test/CodeGen/Inputs
diff options
context:
space:
mode:
authorAmy Huang <akhuang@google.com>2019-08-27 17:46:53 +0000
committerAmy Huang <akhuang@google.com>2019-08-27 17:46:53 +0000
commit8260e31a27b8c4007d1d54af3a9f0d096b792a1d (patch)
tree1f57e89fabb2633279ebde861608447b70e8581c /test/CodeGen/Inputs
parent32bae3c742f83831a5610a601051d0c8c07fb6b8 (diff)
downloadclang-8260e31a27b8c4007d1d54af3a9f0d096b792a1d.tar.gz
Change the X86 datalayout to add three address spaces for 32 bit signed,
32 bit unsigned, and 64 bit pointers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@370083 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Inputs')
-rw-r--r--test/CodeGen/Inputs/thinlto-multi-module.ll2
-rw-r--r--test/CodeGen/Inputs/thinlto_backend.ll2
-rw-r--r--test/CodeGen/Inputs/thinlto_backend_local_name_conflict1.ll2
-rw-r--r--test/CodeGen/Inputs/thinlto_backend_local_name_conflict2.ll2
4 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/Inputs/thinlto-multi-module.ll b/test/CodeGen/Inputs/thinlto-multi-module.ll
index e8dc16a8f5..e6fe92084a 100644
--- a/test/CodeGen/Inputs/thinlto-multi-module.ll
+++ b/test/CodeGen/Inputs/thinlto-multi-module.ll
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
define void @f2() {
diff --git a/test/CodeGen/Inputs/thinlto_backend.ll b/test/CodeGen/Inputs/thinlto_backend.ll
index 78678c0c5a..86c410efb5 100644
--- a/test/CodeGen/Inputs/thinlto_backend.ll
+++ b/test/CodeGen/Inputs/thinlto_backend.ll
@@ -1,4 +1,4 @@
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
define void @f2() {
diff --git a/test/CodeGen/Inputs/thinlto_backend_local_name_conflict1.ll b/test/CodeGen/Inputs/thinlto_backend_local_name_conflict1.ll
index fb5306fc33..bec5f67f59 100644
--- a/test/CodeGen/Inputs/thinlto_backend_local_name_conflict1.ll
+++ b/test/CodeGen/Inputs/thinlto_backend_local_name_conflict1.ll
@@ -1,6 +1,6 @@
; ModuleID = 'local_name_conflict_var.o'
source_filename = "local_name_conflict_var.c"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@baz = internal global i32 10, align 4
diff --git a/test/CodeGen/Inputs/thinlto_backend_local_name_conflict2.ll b/test/CodeGen/Inputs/thinlto_backend_local_name_conflict2.ll
index bf3c262f18..51cd0bef09 100644
--- a/test/CodeGen/Inputs/thinlto_backend_local_name_conflict2.ll
+++ b/test/CodeGen/Inputs/thinlto_backend_local_name_conflict2.ll
@@ -1,6 +1,6 @@
; ModuleID = 'local_name_conflict_var.o'
source_filename = "local_name_conflict_var.c"
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@baz = internal global i32 10, align 4