Converts concat_vectors((trunc (lshr)), (trunc (lshr))) to UZP2 when the shift amount is half the width of the vector element.
Relands rGada028c32f47 with a fix for https://github.com/llvm/llvm-project/issues/52919
Paths
| Differential D130061
[AArch64] Add a tablegen pattern for UZP2. ClosedPublic Authored by labrinea on Jul 19 2022, 12:24 AM.
Details Summary Converts concat_vectors((trunc (lshr)), (trunc (lshr))) to UZP2 when the shift amount is half the width of the vector element. Relands rGada028c32f47 with a fix for https://github.com/llvm/llvm-project/issues/52919
Diff Detail
Event TimelineComment Actions Looks good. Can we remove the complexity from the new patterns? If so LGTM.
This revision is now accepted and ready to land.Jul 20 2022, 12:32 AM This revision was landed with ongoing or failed builds.Jul 20 2022, 1:51 AM Closed by commit rG051738b08cf5: Reland "[AArch64] Add a tablegen pattern for UZP2." (authored by labrinea). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 446081 llvm/lib/Target/AArch64/AArch64InstrInfo.td
llvm/test/CodeGen/AArch64/arm64-uzp2-combine.ll
llvm/test/CodeGen/AArch64/arm64-vadd.ll
|
Are these added complexities needed, or is it enough to put it on the ADDHN/SUBHN?