OSDN Git Service

[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)
commitabd71f69bc6aae537406278338b06f1270cf7e30
treee134fa3dbb13489a75d2fb34c531eb289da27b7d
parentb5a9104224ac49def36f7b6c172a5f4aa54c106b
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313724 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrInfo.td
lib/Target/X86/X86InstrSSE.td
lib/Target/X86/X86InstrXOP.td