[PATCH] D137930: [AArch64][SVE] Add PTEST_ANY pseudo instruction
Bradley Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 14 03:03:23 PST 2022
bsmith created this revision.
bsmith added reviewers: c-rhodes, peterwaller-arm, paulwalker-arm.
Herald added subscribers: psnobl, hiraditya, kristof.beyls, tschuett.
Herald added a reviewer: efriedma.
Herald added a project: All.
bsmith requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This allow recognition of when a ptest was emitted as an any condition
and allows for extra optimization to be done later.
This addresses missing optimizations from D137716 <https://reviews.llvm.org/D137716> and D137718 <https://reviews.llvm.org/D137718>, and
partially D137717 <https://reviews.llvm.org/D137717>.
Depends on D137716 <https://reviews.llvm.org/D137716>, D137717 <https://reviews.llvm.org/D137717>, D137718 <https://reviews.llvm.org/D137718>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D137930
Files:
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.h
llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/lib/Target/AArch64/SVEInstrFormats.td
llvm/test/CodeGen/AArch64/sve-ptest-removal-cmpeq.ll
llvm/test/CodeGen/AArch64/sve-ptest-removal-cmpge.ll
llvm/test/CodeGen/AArch64/sve-ptest-removal-cmpgt.ll
llvm/test/CodeGen/AArch64/sve-ptest-removal-cmphi.ll
llvm/test/CodeGen/AArch64/sve-ptest-removal-cmphs.ll
llvm/test/CodeGen/AArch64/sve-ptest-removal-cmple.ll
llvm/test/CodeGen/AArch64/sve-ptest-removal-cmplo.ll
llvm/test/CodeGen/AArch64/sve-ptest-removal-cmpls.ll
llvm/test/CodeGen/AArch64/sve-ptest-removal-cmplt.ll
llvm/test/CodeGen/AArch64/sve-ptest-removal-cmpne.ll
llvm/test/CodeGen/AArch64/sve-ptest-removal-match.ll
llvm/test/CodeGen/AArch64/sve-ptest-removal-pfirst-pnext.ll
llvm/test/CodeGen/AArch64/sve-setcc.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137930.475093.patch
Type: text/x-patch
Size: 30975 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221114/485f8bac/attachment.bin>
More information about the llvm-commits
mailing list