diff options
author | Eric Christopher <echristo@gmail.com> | 2013-04-15 07:31:37 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-04-15 07:31:37 +0000 |
commit | 60d20a81fcf91818db6b52520dd2ce520ad57a42 (patch) | |
tree | 313569ee431b8ea4e469c2c2aa1e4144ca6577b4 /test/Transforms/SLPVectorizer | |
parent | fdf9624f3c20a24345a543979e1cb5c94a9d6715 (diff) | |
download | external_llvm-60d20a81fcf91818db6b52520dd2ce520ad57a42.zip external_llvm-60d20a81fcf91818db6b52520dd2ce520ad57a42.tar.gz external_llvm-60d20a81fcf91818db6b52520dd2ce520ad57a42.tar.bz2 |
Revert "Recommit r179497 after fixing uninitialized variable." until
I can fix the testcases here:
http://lab.llvm.org:8011/builders/clang-native-arm-cortex-a9/builds/6952
This reverts commit r179512 due to testcases specifying triples
that they didn't actually mean and causing failures on other platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179513 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/SLPVectorizer')
-rw-r--r-- | test/Transforms/SLPVectorizer/X86/reduction.ll | 3 | ||||
-rw-r--r-- | test/Transforms/SLPVectorizer/X86/reduction2.ll | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/SLPVectorizer/X86/reduction.ll b/test/Transforms/SLPVectorizer/X86/reduction.ll index da65f92..70b7c3a 100644 --- a/test/Transforms/SLPVectorizer/X86/reduction.ll +++ b/test/Transforms/SLPVectorizer/X86/reduction.ll @@ -1,5 +1,8 @@ ; RUN: opt < %s -basicaa -slp-vectorizer -dce -S -mtriple=i386-apple-macosx10.8.0 -mcpu=corei7-avx | FileCheck %s +target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128-n8:16:32-S128" +target triple = "i386-apple-macosx10.8.0" + ; int foo(double *A, int n, int m) { ; double sum = 0, v1 = 2, v0 = 3; ; for (int i=0; i < n; ++i) diff --git a/test/Transforms/SLPVectorizer/X86/reduction2.ll b/test/Transforms/SLPVectorizer/X86/reduction2.ll index 9cce0be..7aa7d7e 100644 --- a/test/Transforms/SLPVectorizer/X86/reduction2.ll +++ b/test/Transforms/SLPVectorizer/X86/reduction2.ll @@ -1,5 +1,8 @@ ; RUN: opt < %s -basicaa -slp-vectorizer -dce -S -mtriple=i386-apple-macosx10.8.0 -mcpu=corei7-avx | FileCheck %s +target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128-n8:16:32-S128" +target triple = "i386-apple-macosx10.8.0" + ;CHECK: @foo ;CHECK: load <2 x double> ;CHECK: ret |