[X86] Correct the cost of (v4i32 (fptoui (v4f64))) under AVX512F.
authorCraig Topper <craig.topper@intel.com>
Sun, 26 Aug 2018 18:47:44 +0000 (18:47 +0000)
committerCraig Topper <craig.topper@intel.com>
Sun, 26 Aug 2018 18:47:44 +0000 (18:47 +0000)
commita72012c206d81327f6f1d6306920109418087418
treec566ca3548d67f3947b899e33069dd250914c2ec
parent128915f4ae04f07a958e4efe28f68cc7893f1c0c
[X86] Correct the cost of (v4i32 (fptoui (v4f64))) under AVX512F.

Summary: This was inheriting the cost from the AVX table, but should be legal under AVX512.

Reviewers: RKSimon

Reviewed By: RKSimon

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D51267

llvm-svn: 340708
llvm/lib/Target/X86/X86TargetTransformInfo.cpp
llvm/test/Analysis/CostModel/X86/fptoui.ll