summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2017-01-06 11:12:53 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2017-01-06 11:12:53 +0000
commitd8333372bc764ea7575addf3dc9b2caaa39f178c (patch)
treeb53c3a65e7996f7fe836f15032e1ab398d8bc161 /llvm/test
parent441d1d35d2a2d2b1ce43aa1905c9157ce5fe496f (diff)
downloadbcm5719-llvm-d8333372bc764ea7575addf3dc9b2caaa39f178c.tar.gz
bcm5719-llvm-d8333372bc764ea7575addf3dc9b2caaa39f178c.zip
[CostModel][X86] Fix 512-bit SDIV/UDIV 'big' costs.
Set the costs on the lowest target that supports the type. llvm-svn: 291229
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Analysis/CostModel/X86/vdiv-cost.ll6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/test/Analysis/CostModel/X86/vdiv-cost.ll b/llvm/test/Analysis/CostModel/X86/vdiv-cost.ll
index a6191c5a5eb..a45bb4b3d0d 100644
--- a/llvm/test/Analysis/CostModel/X86/vdiv-cost.ll
+++ b/llvm/test/Analysis/CostModel/X86/vdiv-cost.ll
@@ -118,7 +118,5 @@ define <16 x i32> @test11(<16 x i32> %a) {
; CHECK: 'Cost Model Analysis' for function 'test11':
; SSE: Found an estimated cost of 320 for instruction: %div
; AVX: Found an estimated cost of 320 for instruction: %div
-; AVX512F: Found an estimated cost of 48 for instruction: %div
-; AVX512BW: Found an estimated cost of 320 for instruction: %div
-; AVX512DQ: Found an estimated cost of 48 for instruction: %div
-}
+; AVX512: Found an estimated cost of 320 for instruction: %div
+}
OpenPOWER on IntegriCloud