[X86] Replace usages of X86Subtarget::hasFp256 with hasAVX. Remove hasFP256.
authorCraig Topper <craig.topper@intel.com>
Mon, 5 Mar 2018 00:13:35 +0000 (00:13 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 5 Mar 2018 00:13:35 +0000 (00:13 +0000)
commitf546b2c06f856cde0d5f3ee3736f8a9200cbea76
tree12e41b602d3712f6e47101574a6847a877b2dd6b
parentf2aae622287deacfdd0cfeba85ede24418cd472c
[X86] Replace usages of X86Subtarget::hasFp256 with hasAVX. Remove hasFP256.

Almost none of these usages were FP specific. And we had no clear guideliness on when to use hasAVX vs hasFP256.

I might also remove hasInt256 too since its an alias for hasAVX2.

llvm-svn: 326682
llvm/lib/Target/X86/X86CallingConv.td
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86Subtarget.h