If we are extracting a subvector that has just been inserted then we should just use the original inserted subvector.
This has come up in certain several x86 shuffle lowering cases where we are crossing 128-bit lanes.
Paths
| Differential D24254
[SelectionDAG] Simplify extract_subvector( insert_subvector ( Vec, In, Idx ), Idx ) -> In ClosedPublic Authored by RKSimon on Sep 6 2016, 6:34 AM.
Details Summary If we are extracting a subvector that has just been inserted then we should just use the original inserted subvector. This has come up in certain several x86 shuffle lowering cases where we are crossing 128-bit lanes.
Diff Detail
Event Timelineandreadb edited edge metadata. Comment ActionsHi Simon, LGTM. Thanks!
This revision is now accepted and ready to land.Sep 6 2016, 7:26 AM Closed by commit rL280715: [SelectionDAG] Simplify extract_subvector( insert_subvector ( Vec, In, Idx )… (authored by RKSimon). · Explain WhySep 6 2016, 9:50 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 70394 lib/CodeGen/SelectionDAG/SelectionDAG.cpp
test/CodeGen/X86/vector-shuffle-256-v16.ll
|
extra spaces?