mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-29 00:21:14 +00:00
[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:
parent
6dcbb3161e
commit
a6319e5f83
@ -18132,6 +18132,7 @@ SDValue DAGCombiner::visitEXTRACT_SUBVECTOR(SDNode *N) {
|
||||
return DAG.getBitcast(NVT, NewExtract);
|
||||
}
|
||||
}
|
||||
// TODO - handle (DestNumElts % SrcNumElts) == 0
|
||||
}
|
||||
|
||||
// Combine:
|
||||
|
Loading…
Reference in New Issue
Block a user