[PATCH] D145755: [SVE] Restrict cmp+and->pred_cmp isel to instances where the and is the sole user of the compare.

Paul Walker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 9 17:00:06 PST 2023


paulwalker-arm created this revision.
Herald added subscribers: psnobl, hiraditya, tschuett.
Herald added a reviewer: efriedma.
Herald added a project: All.
paulwalker-arm requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Without the single use restriction we may replace the and with a
more costly duplicated compare.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145755

Files:
  llvm/lib/Target/AArch64/SVEInstrFormats.td
  llvm/test/CodeGen/AArch64/sve-fcmp.ll
  llvm/test/CodeGen/AArch64/sve-fp-int-min-max.ll
  llvm/test/CodeGen/AArch64/sve-intrinsics-int-compares.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145755.503984.patch
Type: text/x-patch
Size: 7535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230310/a3b3237a/attachment.bin>


More information about the llvm-commits mailing list