[X86][SSE] combineToExtendVectorInReg - add ANY_EXTEND support TODO. NFCI.

So I don't forget - there's a load of yak shaving to do first.

llvm-svn: 363847
This commit is contained in:
Simon Pilgrim 2019-06-19 17:42:37 +00:00
parent e6d2c8dde6
commit 0018b78ef6
1 changed files with 1 additions and 0 deletions

View File

@ -41345,6 +41345,7 @@ static SDValue combineToExtendVectorInReg(SDNode *N, SelectionDAG &DAG,
return SDValue();
unsigned Opcode = N->getOpcode();
// TODO - add ANY_EXTEND support.
if (Opcode != ISD::SIGN_EXTEND && Opcode != ISD::ZERO_EXTEND)
return SDValue();
if (!DCI.isBeforeLegalizeOps())