summaryrefslogtreecommitdiff
path: root/test/Transforms
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-12-13 00:21:03 +0000
committerNadav Rotem <nrotem@apple.com>2012-12-13 00:21:03 +0000
commit807dad62a0d4f1a1bbcb76fdc447634f76308252 (patch)
treef07247748fd355f3889388def6063e8624e51ad7 /test/Transforms
parent0fabd08066a29f4e5060539d0d0605cbfe2760b8 (diff)
downloadllvm-807dad62a0d4f1a1bbcb76fdc447634f76308252.tar.gz
llvm-807dad62a0d4f1a1bbcb76fdc447634f76308252.tar.bz2
llvm-807dad62a0d4f1a1bbcb76fdc447634f76308252.tar.xz
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.ll2
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 8f1bb545fa..60c742e220 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