summaryrefslogtreecommitdiff
path: root/test/Analysis
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-04-27 18:47:54 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-04-27 18:47:54 +0000
commit3551384ae2747b02a7f6821d5545cf1756941e41 (patch)
tree87f28815365ce0b1beec1fc88173c82e2be29ddf /test/Analysis
parentad1f916eafc01592deaad7dfe85738c90081163d (diff)
downloadllvm-3551384ae2747b02a7f6821d5545cf1756941e41.tar.gz
llvm-3551384ae2747b02a7f6821d5545cf1756941e41.tar.bz2
llvm-3551384ae2747b02a7f6821d5545cf1756941e41.tar.xz
X86TTI: Adjust sdiv cost now that we can lower it on plain SSE2.
Includes a fix for a horrible typo that caused all SDIV costs to be slightly off :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207371 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis')
-rw-r--r--test/Analysis/CostModel/X86/vdiv-cost.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Analysis/CostModel/X86/vdiv-cost.ll b/test/Analysis/CostModel/X86/vdiv-cost.ll
index 4ba1ef07ad..c8e4557cbe 100644
--- a/test/Analysis/CostModel/X86/vdiv-cost.ll
+++ b/test/Analysis/CostModel/X86/vdiv-cost.ll
@@ -69,7 +69,7 @@ define <4 x i32> @test8(<4 x i32> %a) {
ret <4 x i32> %div
; CHECK: 'Cost Model Analysis' for function 'test8':
-; SSE2: Found an estimated cost of 15 for instruction: %div
+; SSE2: Found an estimated cost of 19 for instruction: %div
; AVX2: Found an estimated cost of 15 for instruction: %div
}
@@ -78,7 +78,7 @@ define <8 x i32> @test9(<8 x i32> %a) {
ret <8 x i32> %div
; CHECK: 'Cost Model Analysis' for function 'test9':
-; SSE2: Found an estimated cost of 30 for instruction: %div
+; SSE2: Found an estimated cost of 38 for instruction: %div
; AVX2: Found an estimated cost of 15 for instruction: %div
}