summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/BBVectorize/loop1.ll
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-01-07 10:22:36 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-01-07 10:22:36 +0000
commit7383bfd67e4d269f168723f27f8998768e6bbd1a (patch)
tree21fc4df66a2588fbd9f961aabbb644cd95b2b20c /llvm/test/Transforms/BBVectorize/loop1.ll
parent2883da3b51e16335faf9a07394b78b8039838e2b (diff)
downloadbcm5719-llvm-7383bfd67e4d269f168723f27f8998768e6bbd1a.tar.gz
bcm5719-llvm-7383bfd67e4d269f168723f27f8998768e6bbd1a.zip
Switch BBVectorize to directly depend on having a TTI analysis.
This could be simplified further, but Hal has a specific feature for ignoring TTI, and so I preserved that. Also, I needed to use it because a number of tests fail when switching from a null TTI to the NoTTI nonce implementation. That seems suspicious to me and so may be something that you need to look into Hal. I worked it by preserving the old behavior for these tests with the flag that ignores all target info. llvm-svn: 171722
Diffstat (limited to 'llvm/test/Transforms/BBVectorize/loop1.ll')
-rw-r--r--llvm/test/Transforms/BBVectorize/loop1.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/BBVectorize/loop1.ll b/llvm/test/Transforms/BBVectorize/loop1.ll
index 766eefaf5ea..e592edb44a0 100644
--- a/llvm/test/Transforms/BBVectorize/loop1.ll
+++ b/llvm/test/Transforms/BBVectorize/loop1.ll
@@ -1,7 +1,7 @@
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-unknown-linux-gnu"
-; RUN: opt < %s -bb-vectorize -bb-vectorize-req-chain-depth=3 -instcombine -gvn -S -mtriple=unknown | FileCheck %s
-; RUN: opt < %s -basicaa -loop-unroll -unroll-threshold=45 -unroll-allow-partial -bb-vectorize -bb-vectorize-req-chain-depth=3 -instcombine -gvn -S | FileCheck %s -check-prefix=CHECK-UNRL
+; RUN: opt < %s -bb-vectorize -bb-vectorize-req-chain-depth=3 -bb-vectorize-ignore-target-info -instcombine -gvn -S | FileCheck %s
+; RUN: opt < %s -basicaa -loop-unroll -unroll-threshold=45 -unroll-allow-partial -bb-vectorize -bb-vectorize-req-chain-depth=3 -bb-vectorize-ignore-target-info -instcombine -gvn -S | FileCheck %s -check-prefix=CHECK-UNRL
; The second check covers the use of alias analysis (with loop unrolling).
define void @test1(double* noalias %out, double* noalias %in1, double* noalias %in2) nounwind uwtable {
OpenPOWER on IntegriCloud