[X86] combineUIntToFP - Fix UINT_TO_FP(vXi1) comment (PR39078)

llvm-svn: 343026
This commit is contained in:
Simon Pilgrim 2018-09-25 20:52:08 +00:00
parent 079c0df47d
commit 96335dd1ec
1 changed files with 1 additions and 1 deletions
llvm/lib/Target/X86

View File

@ -39016,7 +39016,7 @@ static SDValue combineUIntToFP(SDNode *N, SelectionDAG &DAG,
EVT VT = N->getValueType(0);
EVT InVT = Op0.getValueType();
// UINT_TO_FP(vXi1) -> SINT_TO_FP(SEXT(vXi1 to vXi32))
// UINT_TO_FP(vXi1) -> SINT_TO_FP(ZEXT(vXi1 to vXi32))
// UINT_TO_FP(vXi8) -> SINT_TO_FP(ZEXT(vXi8 to vXi32))
// UINT_TO_FP(vXi16) -> SINT_TO_FP(ZEXT(vXi16 to vXi32))
if (InVT.isVector() && InVT.getScalarSizeInBits() < 32) {