[PATCH] D110177: [AArch64][SVE] Remove redundant PTEST following PNEXT/PFIRST
Peter Waller via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 21 07:36:54 PDT 2021
peterwaller-arm created this revision.
peterwaller-arm added reviewers: paulwalker-arm, sdesmalen, bsmith, efriedma, DavidTruby, MattDevereau.
Herald added subscribers: psnobl, hiraditya, kristof.beyls, tschuett.
peterwaller-arm requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
PNEXT and PFIRST set the NZCV flags, so the subsequent PTEST can be
optimized away in AArch64InstrInfo::optimizePTestInstr.
See-also: https://reviews.llvm.org/D93292
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D110177
Files:
llvm/lib/Target/AArch64/SVEInstrFormats.td
llvm/test/CodeGen/AArch64/sve-ptest-removal-pfirst.mir
llvm/test/CodeGen/AArch64/sve-ptest-removal-pnext.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110177.373927.patch
Type: text/x-patch
Size: 4495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210921/984d1aeb/attachment.bin>
More information about the llvm-commits
mailing list