[PATCH] D120152: [AArch64][SVE] Match VLS all-1's masks to PTRUE

Cameron McInally via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 18 11:42:17 PST 2022


cameron.mcinally created this revision.
cameron.mcinally added reviewers: paulwalker-arm, bsmith, david-arm, efriedma.
Herald added subscribers: psnobl, hiraditya, kristof.beyls, tschuett.
cameron.mcinally requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Here's a patch to match VLS all-1s masks to PTRUE. There were a few places, before and after legalization, that this could be done, but I think SETCC_MERGE_ZERO combines are the best fit.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120152

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/sve-fixed-length-ptrue.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120152.409984.patch
Type: text/x-patch
Size: 5464 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220218/85ae3ca5/attachment.bin>


More information about the llvm-commits mailing list