summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-10-03 09:43:23 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-10-03 09:43:23 +0000
commitea026fbb7bd209043f0cc022d062d780c83f877a (patch)
tree4356e9d1b2b0a6331baa2892f823f010b8888678
parentb193d96bce94583a326548f1779d8bcff74bcb59 (diff)
downloadbcm5719-llvm-ea026fbb7bd209043f0cc022d062d780c83f877a.tar.gz
bcm5719-llvm-ea026fbb7bd209043f0cc022d062d780c83f877a.zip
[x86] Add two more triples to stabilize the precise assembly syntax
across platforms. llvm-svn: 218973
-rw-r--r--llvm/test/CodeGen/X86/vector-idiv.ll2
-rw-r--r--llvm/test/CodeGen/X86/widen_shuffle-1.ll2
2 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/vector-idiv.ll b/llvm/test/CodeGen/X86/vector-idiv.ll
index 500caab9ae2..bad1fa7643e 100644
--- a/llvm/test/CodeGen/X86/vector-idiv.ll
+++ b/llvm/test/CodeGen/X86/vector-idiv.ll
@@ -2,6 +2,8 @@
; RUN: llc -march=x86-64 -mcpu=core2 < %s | FileCheck %s --check-prefix=SSE
; RUN: llc -march=x86-64 -mcpu=core-avx2 < %s | FileCheck %s --check-prefix=AVX
+target triple = "x86_64-unknown-unknown"
+
define <4 x i32> @test1(<4 x i32> %a) {
; SSE41-LABEL: test1:
; SSE41: # BB#0:
diff --git a/llvm/test/CodeGen/X86/widen_shuffle-1.ll b/llvm/test/CodeGen/X86/widen_shuffle-1.ll
index 219db9000b5..595f346e408 100644
--- a/llvm/test/CodeGen/X86/widen_shuffle-1.ll
+++ b/llvm/test/CodeGen/X86/widen_shuffle-1.ll
@@ -1,5 +1,7 @@
; RUN: llc < %s -march=x86 -mattr=+sse4.2 | FileCheck %s
+target triple = "x86_64-unknown-unknown"
+
; widening shuffle v3float and then a add
define void @shuf(<3 x float>* %dst.addr, <3 x float> %src1,<3 x float> %src2) nounwind {
; CHECK-LABEL: shuf:
OpenPOWER on IntegriCloud