From 2652c50f74bc4a874c6a2e4b34ff2d52d479183f Mon Sep 17 00:00:00 2001 From: Nadav Rotem Date: Wed, 24 Oct 2012 23:47:38 +0000 Subject: 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 --- test/Transforms/LoopVectorize/cost-model.ll | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/Transforms/LoopVectorize') 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: -- cgit v1.2.3-70-g09d2