aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuanfang Chen <yuanfang.chen@sony.com>2020-12-09 13:10:39 -0800
committerYuanfang Chen <yuanfang.chen@sony.com>2020-12-09 13:13:58 -0800
commit8b23b3ab3aea28b91e5aa48f29fe9eb1828515a3 (patch)
treeae19f5d241f92c8735b6e8abf6974961ed7088f6
parentf5f4b8b60fc0931440c4f2549fbff0965c868d2c (diff)
downloadllvm-8b23b3ab3aea28b91e5aa48f29fe9eb1828515a3.zip
llvm-8b23b3ab3aea28b91e5aa48f29fe9eb1828515a3.tar.gz
llvm-8b23b3ab3aea28b91e5aa48f29fe9eb1828515a3.tar.bz2
[NFCI] Add missing triple to several LTO tests
Also remove the module triple of clang/test/CodeGenObjC/arc.ll, the commandline tripe is all it needs.
-rw-r--r--clang/test/CodeGenObjC/arc.ll2
-rw-r--r--llvm/test/ThinLTO/X86/Inputs/distributed_import.ll1
-rw-r--r--llvm/test/tools/gold/X86/Inputs/comdat.ll1
-rw-r--r--llvm/test/tools/gold/X86/Inputs/type-merge2.ll1
-rw-r--r--llvm/test/tools/gold/X86/Inputs/visibility.ll1
5 files changed, 4 insertions, 2 deletions
diff --git a/clang/test/CodeGenObjC/arc.ll b/clang/test/CodeGenObjC/arc.ll
index 7b903d0..cfc88c3 100644
--- a/clang/test/CodeGenObjC/arc.ll
+++ b/clang/test/CodeGenObjC/arc.ll
@@ -1,7 +1,5 @@
; RUN: %clang_cc1 -triple x86_64-apple-darwin10 -Os -emit-llvm -fobjc-arc -o - %s | FileCheck %s
-target triple = "x86_64-apple-darwin10"
-
declare i8* @llvm.objc.retain(i8*)
declare void @llvm.objc.release(i8*)
diff --git a/llvm/test/ThinLTO/X86/Inputs/distributed_import.ll b/llvm/test/ThinLTO/X86/Inputs/distributed_import.ll
index 328603d..d7d9bb6 100644
--- a/llvm/test/ThinLTO/X86/Inputs/distributed_import.ll
+++ b/llvm/test/ThinLTO/X86/Inputs/distributed_import.ll
@@ -1,4 +1,5 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
@G = internal global i32 7
define i32 @g() {
diff --git a/llvm/test/tools/gold/X86/Inputs/comdat.ll b/llvm/test/tools/gold/X86/Inputs/comdat.ll
index e70b718..ca4bbb4 100644
--- a/llvm/test/tools/gold/X86/Inputs/comdat.ll
+++ b/llvm/test/tools/gold/X86/Inputs/comdat.ll
@@ -1,4 +1,5 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
$c2 = comdat any
$c1 = comdat any
diff --git a/llvm/test/tools/gold/X86/Inputs/type-merge2.ll b/llvm/test/tools/gold/X86/Inputs/type-merge2.ll
index 7cdea6e..7890c47 100644
--- a/llvm/test/tools/gold/X86/Inputs/type-merge2.ll
+++ b/llvm/test/tools/gold/X86/Inputs/type-merge2.ll
@@ -1,4 +1,5 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
%zed = type { i16 }
define void @bar(%zed* %this) {
diff --git a/llvm/test/tools/gold/X86/Inputs/visibility.ll b/llvm/test/tools/gold/X86/Inputs/visibility.ll
index 42796a9..3744246 100644
--- a/llvm/test/tools/gold/X86/Inputs/visibility.ll
+++ b/llvm/test/tools/gold/X86/Inputs/visibility.ll
@@ -1,4 +1,5 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
define void @foo() {
ret void