diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-12-13 00:21:03 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-12-13 00:21:03 +0000 |
commit | 807dad62a0d4f1a1bbcb76fdc447634f76308252 (patch) | |
tree | f07247748fd355f3889388def6063e8624e51ad7 /test/Transforms | |
parent | 0fabd08066a29f4e5060539d0d0605cbfe2760b8 (diff) | |
download | external_llvm-807dad62a0d4f1a1bbcb76fdc447634f76308252.zip external_llvm-807dad62a0d4f1a1bbcb76fdc447634f76308252.tar.gz external_llvm-807dad62a0d4f1a1bbcb76fdc447634f76308252.tar.bz2 |
Teach the cost model about the optimization in r169904: Truncation of induction variables costs the same as scalar trunc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170051 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r-- | test/Transforms/LoopVectorize/X86/conversion-cost.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/LoopVectorize/X86/conversion-cost.ll b/test/Transforms/LoopVectorize/X86/conversion-cost.ll index 8f1bb54..60c742e 100644 --- a/test/Transforms/LoopVectorize/X86/conversion-cost.ll +++ b/test/Transforms/LoopVectorize/X86/conversion-cost.ll @@ -4,7 +4,7 @@ target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f3 target triple = "x86_64-apple-macosx10.8.0" ;CHECK: @conversion_cost1 -;CHECK: store <2 x i8> +;CHECK: store <8 x i8> ;CHECK: ret define i32 @conversion_cost1(i32 %n, i8* nocapture %A, float* nocapture %B) nounwind uwtable ssp { %1 = icmp sgt i32 %n, 3 |