[DAGCombine] visitEXTRACT_SUBVECTOR - add TODO for extract_subvector(bitcast()) support

We support 'big to little' (e.g. extract_subvector(v16i8 bitcast(v2i64))) but not 'little to big' cases  (e.g. extract_subvector(v2i64 bitcast(v16i8)))

llvm-svn: 364405
This commit is contained in:
Simon Pilgrim 2019-06-26 11:17:38 +00:00
parent 6dcbb3161e
commit a6319e5f83

View File

@ -18132,6 +18132,7 @@ SDValue DAGCombiner::visitEXTRACT_SUBVECTOR(SDNode *N) {
return DAG.getBitcast(NVT, NewExtract);
}
}
// TODO - handle (DestNumElts % SrcNumElts) == 0
}
// Combine: