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 | afae78edabfdbe187c5f4d6d41bfe17003196b87 (patch) | |
tree | 85d9c182fd1cd93b7d88c213a82fc223b173da33 /llvm/test/Transforms/LoopVectorize/X86/cost-model.ll | |
parent | 1f06e7f00e9b3f9e769f0e4b2c0020920af33ed3 (diff) | |
download | bcm5719-llvm-afae78edabfdbe187c5f4d6d41bfe17003196b87.tar.gz bcm5719-llvm-afae78edabfdbe187c5f4d6d41bfe17003196b87.zip |
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.
llvm-svn: 166836
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize/X86/cost-model.ll')
-rw-r--r-- | llvm/test/Transforms/LoopVectorize/X86/cost-model.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/LoopVectorize/X86/cost-model.ll b/llvm/test/Transforms/LoopVectorize/X86/cost-model.ll index 628f9912c8c..40e660855b1 100644 --- a/llvm/test/Transforms/LoopVectorize/X86/cost-model.ll +++ b/llvm/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: |