[PATCH] D140289: [AArch64] Combine Trunc(DUP) -> DUP
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 19 03:24:05 PST 2022
dmgreen created this revision.
dmgreen added reviewers: SjoerdMeijer, samtebbs, bipmis, fhahn.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
dmgreen requested review of this revision.
Herald added a project: LLVM.
This adds a simple fold of `TRUNCATE(AArch64ISD::DUP)` -> `AArch64ISD::DUP`, which can help generate more optimal UMULL sequences, and seems useful in general.
https://reviews.llvm.org/D140289
Files:
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140289.483893.patch
Type: text/x-patch
Size: 4659 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221219/89d7b1b1/attachment.bin>
More information about the llvm-commits
mailing list