diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2014-01-27 11:41:50 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2014-01-27 11:41:50 +0000 |
| commit | edfa37effa78781f7a0211196c8243aee38eaea6 (patch) | |
| tree | bd72b8c20d5575b6d7321179dac682ed8abb12f3 /llvm/test/Transforms/LoopVectorize/unroll_novec.ll | |
| parent | 2bb03ba6050ef482652cb49105d1f2a6b066e97f (diff) | |
| download | bcm5719-llvm-edfa37effa78781f7a0211196c8243aee38eaea6.tar.gz bcm5719-llvm-edfa37effa78781f7a0211196c8243aee38eaea6.zip | |
[vectorizer] Add an override for the target instruction cost and use it
to stabilize a test that really is trying to test generic behavior and
not a specific target's behavior.
llvm-svn: 200215
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize/unroll_novec.ll')
| -rw-r--r-- | llvm/test/Transforms/LoopVectorize/unroll_novec.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/LoopVectorize/unroll_novec.ll b/llvm/test/Transforms/LoopVectorize/unroll_novec.ll index be5bbb68e65..89f4678526d 100644 --- a/llvm/test/Transforms/LoopVectorize/unroll_novec.ll +++ b/llvm/test/Transforms/LoopVectorize/unroll_novec.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -loop-vectorize -force-vector-width=1 -force-target-num-scalar-regs=16 -force-target-max-scalar-unroll=8 -small-loop-cost=20 -dce -instcombine -S | FileCheck %s +; RUN: opt < %s -loop-vectorize -force-vector-width=1 -force-target-num-scalar-regs=16 -force-target-max-scalar-unroll=8 -force-target-instruction-cost=1 -small-loop-cost=40 -dce -instcombine -S | FileCheck %s 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-macosx10.8.0" |

