summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2018-11-09 19:04:27 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2018-11-09 19:04:27 +0000
commitfc8f1d7da7eb79459765b08580a88915704fbb20 (patch)
tree33907ea4b636d65abade8ddceedf5964f4da5def /llvm/test/Transforms
parentc1741a5a8acfa51a89db157afc97cea51dcabdec (diff)
downloadbcm5719-llvm-fc8f1d7da7eb79459765b08580a88915704fbb20.tar.gz
bcm5719-llvm-fc8f1d7da7eb79459765b08580a88915704fbb20.zip
[CostModel][X86] SK_ExtractSubvector is free if the subvector is at the start of the source vector
llvm-svn: 346538
Diffstat (limited to 'llvm/test/Transforms')
-rw-r--r--llvm/test/Transforms/SLPVectorizer/X86/reduction_unrolled.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/SLPVectorizer/X86/reduction_unrolled.ll b/llvm/test/Transforms/SLPVectorizer/X86/reduction_unrolled.ll
index 80c9044e80a..b5e2a0dff12 100644
--- a/llvm/test/Transforms/SLPVectorizer/X86/reduction_unrolled.ll
+++ b/llvm/test/Transforms/SLPVectorizer/X86/reduction_unrolled.ll
@@ -13,7 +13,7 @@
; Vector cost is 5, Scalar cost is 7
; CHECK: Adding cost -2 for reduction that starts with %7 = load i32, i32* %arrayidx.7, align 4 (It is a splitting reduction)
; Vector cost is 11, Scalar cost is 7
-; SSE2: Adding cost 4 for reduction that starts with %7 = load i32, i32* %arrayidx.7, align 4 (It is a splitting reduction)
+; SSE2: Adding cost 3 for reduction that starts with %7 = load i32, i32* %arrayidx.7, align 4 (It is a splitting reduction)
define i32 @test_add(i32* nocapture readonly %p) {
; CHECK-LABEL: @test_add(
; CHECK-NEXT: entry:
OpenPOWER on IntegriCloud