[PATCH] D137947: [AArch64][SVE] Add instcombine to convert ptest.last/first to ptest.any

Bradley Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 14 07:18:30 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 for better optimization later in the backend.

This fixes the remaining missed optimizations in D137717 <https://reviews.llvm.org/D137717>.

Depends on D137930 <https://reviews.llvm.org/D137930>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D137947

Files:
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/test/CodeGen/AArch64/sve-ptest-removal-cmple.ll
  llvm/test/Transforms/InstCombine/AArch64/sve-intrinsics-ptest.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137947.475140.patch
Type: text/x-patch
Size: 6105 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221114/1f55000e/attachment.bin>


More information about the llvm-commits mailing list