diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-06-26 11:17:38 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-06-26 11:17:38 +0000 |
| commit | a6319e5f83718e925870e5c758e40228b4eb4b33 (patch) | |
| tree | adef2f63eef303f730da79b551648e4937dc27a1 /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | |
| parent | 6dcbb3161e35a9a2bbe4d49760bb25f6bd25ce48 (diff) | |
| download | bcm5719-llvm-a6319e5f83718e925870e5c758e40228b4eb4b33.tar.gz bcm5719-llvm-a6319e5f83718e925870e5c758e40228b4eb4b33.zip | |
[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
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 3b480377dfc..54a52690012 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -18132,6 +18132,7 @@ SDValue DAGCombiner::visitEXTRACT_SUBVECTOR(SDNode *N) { return DAG.getBitcast(NVT, NewExtract); } } + // TODO - handle (DestNumElts % SrcNumElts) == 0 } // Combine: |

