[X86] Remove isel checks for immediate size on floating point compare and xop compare...
authorCraig Topper <craig.topper@intel.com>
Wed, 20 Sep 2017 06:38:41 +0000 (06:38 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 20 Sep 2017 06:38:41 +0000 (06:38 +0000)
commit5c7cd25f82581a70da418a40ce83c113c8abc7f2
treedc667570d86869d6691d3fd2ddd04213e09fe6b2
parent2e3bf37ec4a2530e6f593c73e5b54ca3f5c95ad5
[X86] Remove isel checks for immediate size on floating point compare and xop compare instructions. NFCI

If these checks fail we end up not selecting an instruction at all. So we are already relying on the immediate being checked upstream of isel. So doing the check in isel is just bloat to the isel table. Interestingly, we didn't check on the AVX512 version of the instructions anyway.

llvm-svn: 313724
llvm/lib/Target/X86/X86InstrInfo.td
llvm/lib/Target/X86/X86InstrSSE.td
llvm/lib/Target/X86/X86InstrXOP.td