summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-02-19 10:32:40 +0000
committerTim Northover <tnorthover@apple.com>2014-02-19 10:32:40 +0000
commita5d63e5a30a68c2e72431b59a00079b0e18043e5 (patch)
tree179d92044c0e1dbf902bc25e30750e168e5412f0 /test
parent44697f3fc1c81644aedadf5e879fed7ff56a03da (diff)
downloadllvm-a5d63e5a30a68c2e72431b59a00079b0e18043e5.tar.gz
llvm-a5d63e5a30a68c2e72431b59a00079b0e18043e5.tar.bz2
llvm-a5d63e5a30a68c2e72431b59a00079b0e18043e5.tar.xz
Try addding datalayout in case that's what Hexagon doesn't like.
Just a wild stab in the dark really, but in the absence of any ability to reproduce the problem... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201658 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/CodeGenPrepare/x86-shuffle-sink.ll7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/Transforms/CodeGenPrepare/x86-shuffle-sink.ll b/test/Transforms/CodeGenPrepare/x86-shuffle-sink.ll
index c4ee79cd7f..e945b03c33 100644
--- a/test/Transforms/CodeGenPrepare/x86-shuffle-sink.ll
+++ b/test/Transforms/CodeGenPrepare/x86-shuffle-sink.ll
@@ -1,5 +1,8 @@
-; RUN: opt -S -codegenprepare -mtriple=x86_64-apple-macosx10.9 -mcpu=core-avx2 %s | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-AVX2
-; RUN: opt -S -codegenprepare -mtriple=x86_64-apple-macosx10.9 -mcpu=corei7 %s | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-SSE2
+; RUN: opt -S -codegenprepare -mcpu=core-avx2 %s | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-AVX2
+; RUN: opt -S -codegenprepare -mcpu=corei7 %s | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-SSE2
+
+target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
+target triple = "x86_64-apple-darwin10.9.0"
define <16 x i8> @test_8bit(<16 x i8> %lhs, <16 x i8> %tmp, i1 %tst) {
; CHECK-LABEL: @test_8bit