summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-10-24 23:47:38 +0000
committerNadav Rotem <nrotem@apple.com>2012-10-24 23:47:38 +0000
commit2652c50f74bc4a874c6a2e4b34ff2d52d479183f (patch)
tree82c8466e0c684e466cb5dec7360704269ed0f9b6 /test
parentd95666c226e41218a07541aaa2cc1fba823c25e4 (diff)
downloadllvm-2652c50f74bc4a874c6a2e4b34ff2d52d479183f.tar.gz
llvm-2652c50f74bc4a874c6a2e4b34ff2d52d479183f.tar.bz2
llvm-2652c50f74bc4a874c6a2e4b34ff2d52d479183f.tar.xz
Implement a basic cost model for vector and scalar instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166642 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/LoopVectorize/cost-model.ll4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/Transforms/LoopVectorize/cost-model.ll b/test/Transforms/LoopVectorize/cost-model.ll
index 20c710db46..18abf2885e 100644
--- a/test/Transforms/LoopVectorize/cost-model.ll
+++ b/test/Transforms/LoopVectorize/cost-model.ll
@@ -8,10 +8,8 @@ target triple = "x86_64-apple-macosx10.8.0"
@d = common global [2048 x i32] zeroinitializer, align 16
@a = common global [2048 x i32] zeroinitializer, align 16
-; At this point the cost model is pretty bad and we are vectorizing the code below.
-; TODO: This code should not be vectorized on x86.
;CHECK: cost_model_1
-;CHECK: <4 x i32>
+;CHECK-NOT: <4 x i32>
;CHECK: ret void
define void @cost_model_1() nounwind uwtable noinline ssp {
entry: