[PATCH] D154063: [AArch64] Handle 64bit vector s/umull from extracts
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 29 04:33:01 PDT 2023
dmgreen created this revision.
dmgreen added reviewers: jaykang10, bipmis, labrinea, chill.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
dmgreen requested review of this revision.
Herald added a project: LLVM.
This is similar to D153632 <https://reviews.llvm.org/D153632>, but for mul nodes instead of add/sub. They get recognised in LowerMUL in order to detect the `mul(ext, ext)`, in a way that will work for i64 nodes as well as i16/i32. This extends it to look for `mul(subvector_extract(ext(x), 0), subvector_extract(ext(y), 0))`, generating a `subvector_extract(mull(x,y))` if it matches.
https://reviews.llvm.org/D154063
Files:
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/neon-extadd-extract.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154063.535715.patch
Type: text/x-patch
Size: 7601 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230629/9378cef7/attachment.bin>
More information about the llvm-commits
mailing list