summaryrefslogtreecommitdiff
path: root/test/Transforms/BBVectorize/loop1.ll
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2013-01-01 08:00:32 +0000
committerNadav Rotem <nrotem@apple.com>2013-01-01 08:00:32 +0000
commitb338d897f9063ed6f02ed52527722c61ef827d5a (patch)
tree593f02c99f705e140daad5fa8bcf7a192d302fd7 /test/Transforms/BBVectorize/loop1.ll
parent117e4d2e190fe2e6427e5ec0b633048d9a744018 (diff)
downloadllvm-b338d897f9063ed6f02ed52527722c61ef827d5a.tar.gz
llvm-b338d897f9063ed6f02ed52527722c61ef827d5a.tar.bz2
llvm-b338d897f9063ed6f02ed52527722c61ef827d5a.tar.xz
Make opt grab the triple from the module and use it to initialize the target machine.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171341 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/BBVectorize/loop1.ll')
-rw-r--r--test/Transforms/BBVectorize/loop1.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/BBVectorize/loop1.ll b/test/Transforms/BBVectorize/loop1.ll
index c22ea5852a..766eefaf5e 100644
--- a/test/Transforms/BBVectorize/loop1.ll
+++ b/test/Transforms/BBVectorize/loop1.ll
@@ -1,6 +1,6 @@
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 | FileCheck %s
+; 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
; The second check covers the use of alias analysis (with loop unrolling).