[PATCH] D130163: [AArch64] Combine setcc (iN (bitcast (vNi1 X))) with vecreduce_or

Cullen Rhodes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 25 03:05:34 PDT 2022


c-rhodes updated this revision to Diff 447258.
c-rhodes added a comment.

`vecreduce_or (setcc X, 0, eq)` -> `setcc (iN (zext (i1 (vecreduce_or (vNi1 X))))), 0, eq`


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

https://reviews.llvm.org/D130163

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/dag-combine-setcc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130163.447258.patch
Type: text/x-patch
Size: 18060 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220725/c56cf4b5/attachment.bin>


More information about the llvm-commits mailing list