From 3551384ae2747b02a7f6821d5545cf1756941e41 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sun, 27 Apr 2014 18:47:54 +0000 Subject: 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 --- test/Analysis/CostModel/X86/vdiv-cost.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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 } -- cgit v1.2.3