summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopVectorize
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
commit4a87683a41d3d304bcca100b658cb12b19097034 (patch)
tree5d59545346f76cdeb3462b9d4e19cba3bff9dc6d /llvm/test/Transforms/LoopVectorize
parentb63687519610a73dd565be1fec28332211b4df5b (diff)
downloadbcm5719-llvm-4a87683a41d3d304bcca100b658cb12b19097034.tar.gz
bcm5719-llvm-4a87683a41d3d304bcca100b658cb12b19097034.zip
Implement a basic cost model for vector and scalar instructions.
llvm-svn: 166642
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize')
-rw-r--r--llvm/test/Transforms/LoopVectorize/cost-model.ll4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/test/Transforms/LoopVectorize/cost-model.ll b/llvm/test/Transforms/LoopVectorize/cost-model.ll
index 20c710db466..18abf2885e5 100644
--- a/llvm/test/Transforms/LoopVectorize/cost-model.ll
+++ b/llvm/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:
OpenPOWER on IntegriCloud