[PATCH] D100476: [AArch64][SVEIntrinsicOpts] Replace last{a,b} intrinsic calls with extracts...
Joe Ellis via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 14 06:38:03 PDT 2021
joechrisellis created this revision.
Herald added subscribers: hiraditya, kristof.beyls, tschuett.
joechrisellis requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
when the predicate used by last{a,b} specifies a known vector length.
For example:
aarch64_sve_lasta(VL1, D) -> extractelement(D, #1)
aarch64_sve_lastb(VL1, D) -> extractelement(D, #0)
Co-authored-by: Paul Walker <paul.walker at arm.com>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D100476
Files:
llvm/lib/Target/AArch64/SVEIntrinsicOpts.cpp
llvm/test/CodeGen/AArch64/sve-intrinsic-opts-lasta-lastb.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100476.337437.patch
Type: text/x-patch
Size: 11496 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210414/4aa2c1cd/attachment.bin>
More information about the llvm-commits
mailing list