[llvm] r218973 - [x86] Add two more triples to stabilize the precise assembly syntax

Chandler Carruth chandlerc at gmail.com
Fri Oct 3 02:43:23 PDT 2014


Author: chandlerc
Date: Fri Oct  3 04:43:23 2014
New Revision: 218973

URL: http://llvm.org/viewvc/llvm-project?rev=218973&view=rev
Log:
[x86] Add two more triples to stabilize the precise assembly syntax
across platforms.

Modified:
    llvm/trunk/test/CodeGen/X86/vector-idiv.ll
    llvm/trunk/test/CodeGen/X86/widen_shuffle-1.ll

Modified: llvm/trunk/test/CodeGen/X86/vector-idiv.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/vector-idiv.ll?rev=218973&r1=218972&r2=218973&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/vector-idiv.ll (original)
+++ llvm/trunk/test/CodeGen/X86/vector-idiv.ll Fri Oct  3 04:43:23 2014
@@ -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:

Modified: llvm/trunk/test/CodeGen/X86/widen_shuffle-1.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/widen_shuffle-1.ll?rev=218973&r1=218972&r2=218973&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/widen_shuffle-1.ll (original)
+++ llvm/trunk/test/CodeGen/X86/widen_shuffle-1.ll Fri Oct  3 04:43:23 2014
@@ -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:





More information about the llvm-commits mailing list