[PATCH] D118145: [AArch64][SVE] Avoid using ptrue for ptest in VECREDUCE_OR.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 27 03:13:36 PST 2022


sdesmalen updated this revision to Diff 403569.
sdesmalen added a comment.

Added check that the predicate is all active (to guard it for when this is used for fixed width vectors), as well as a comment explaining the rationale behind it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118145/new/

https://reviews.llvm.org/D118145

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/sve-int-pred-reduce.ll
  llvm/test/CodeGen/AArch64/sve-split-int-pred-reduce.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118145.403569.patch
Type: text/x-patch
Size: 6546 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220127/aeea84c4/attachment.bin>


More information about the llvm-commits mailing list