diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-10-24 23:47:38 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-10-24 23:47:38 +0000 |
commit | 2652c50f74bc4a874c6a2e4b34ff2d52d479183f (patch) | |
tree | 82c8466e0c684e466cb5dec7360704269ed0f9b6 /test/Transforms | |
parent | d95666c226e41218a07541aaa2cc1fba823c25e4 (diff) | |
download | external_llvm-2652c50f74bc4a874c6a2e4b34ff2d52d479183f.zip external_llvm-2652c50f74bc4a874c6a2e4b34ff2d52d479183f.tar.gz external_llvm-2652c50f74bc4a874c6a2e4b34ff2d52d479183f.tar.bz2 |
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/Transforms')
-rw-r--r-- | test/Transforms/LoopVectorize/cost-model.ll | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/Transforms/LoopVectorize/cost-model.ll b/test/Transforms/LoopVectorize/cost-model.ll index 20c710d..18abf28 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: |