[X86] Split AVX512 getCastInstrCost into tables that require useAVX512Regs() and...
authorCraig Topper <craig.topper@intel.com>
Tue, 14 Apr 2020 02:29:33 +0000 (19:29 -0700)
committerCraig Topper <craig.topper@intel.com>
Tue, 14 Apr 2020 04:09:42 +0000 (21:09 -0700)
commit535a566a01e5aa3808de5af7e3d7fc2888eed0da
tree1f0eff1b44e6b8bc2c0f56598b67d5bb89965ac0
parent071c64d68d1d0c762c6d532f5312099e596c21ae
[X86] Split AVX512 getCastInstrCost into tables that require useAVX512Regs() and those that just operate on 256 or smaller vectors.

Use useAVX512Regs() to skip lookups instead of using type legalization
action.
llvm/lib/Target/X86/X86TargetTransformInfo.cpp