[X86] Update to getSetCCResultType to be more robust to EVT types.
authorCraig Topper <craig.topper@intel.com>
Wed, 6 Dec 2017 00:15:17 +0000 (00:15 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 6 Dec 2017 00:15:17 +0000 (00:15 +0000)
commit647e4f590f1de9032c3ae2563dbb8532041b1840
tree4ea92b229758ba6b4e7e9478a5d59988d412a16e
parent9ac3154d10df45f7c5ca9085a2e50ec0bc3075c0
[X86] Update to getSetCCResultType to be more robust to EVT types.

Attempt to determine what the type will be legalized to and then analyze that to see if we will be able to use a vXi1 compare.

llvm-svn: 319861
llvm/lib/Target/X86/X86ISelLowering.cpp