diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-10-26 23:49:28 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-10-26 23:49:28 +0000 |
commit | a5a3a61c5fdcee972791d4e08441ba6edf131b88 (patch) | |
tree | 2f84237b706b2a0f4fda6d4e37672863ebc3e4e2 /test/Transforms | |
parent | 17f42e02a10bd4d43e4ba904c640224de2c48f51 (diff) | |
download | external_llvm-a5a3a61c5fdcee972791d4e08441ba6edf131b88.zip external_llvm-a5a3a61c5fdcee972791d4e08441ba6edf131b88.tar.gz external_llvm-a5a3a61c5fdcee972791d4e08441ba6edf131b88.tar.bz2 |
Refactor the VectorTargetTransformInfo interface.
Add getCostXXX calls for different families of opcodes, such as casts, arithmetic, cmp, etc.
Port the LoopVectorizer to the new API.
The LoopVectorizer now finds instructions which will remain uniform after vectorization. It uses this information when calculating the cost of these instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166836 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r-- | test/Transforms/LoopVectorize/X86/cost-model.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/LoopVectorize/X86/cost-model.ll b/test/Transforms/LoopVectorize/X86/cost-model.ll index 628f991..40e6608 100644 --- a/test/Transforms/LoopVectorize/X86/cost-model.ll +++ b/test/Transforms/LoopVectorize/X86/cost-model.ll @@ -9,7 +9,7 @@ target triple = "x86_64-apple-macosx10.8.0" @a = common global [2048 x i32] zeroinitializer, align 16 ;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: |