This adds a simple fold of TRUNCATE(AArch64ISD::DUP) -> AArch64ISD::DUP, which can help generate more optimal UMULL sequences, and seems useful in general.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D140289
[AArch64] Combine Trunc(DUP) -> DUP ClosedPublic Authored by dmgreen on Dec 19 2022, 3:24 AM.
Details Summary This adds a simple fold of TRUNCATE(AArch64ISD::DUP) -> AArch64ISD::DUP, which can help generate more optimal UMULL sequences, and seems useful in general.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 19 2022, 3:56 AM This revision was landed with ongoing or failed builds.Dec 21 2022, 7:00 AM Closed by commit rG3e65ad7482e9: [AArch64] Combine Trunc(DUP) -> DUP (authored by dmgreen). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 484570 llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/aarch64-dup-ext.ll
llvm/test/CodeGen/AArch64/aarch64-smull.ll
llvm/test/CodeGen/AArch64/dag-combine-trunc-build-vec.ll
|