[PATCH] D117210: [CodeGen] Support folds of not(cmp(cc, ...)) -> cmp(!cc, ...) for scalable vectors

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 28 04:17:26 PST 2022


david-arm updated this revision to Diff 403963.
david-arm added a comment.
Herald added a subscriber: ecnelises.

- Updated isConsTrueVal to use isConstOrConstSplat.


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

https://reviews.llvm.org/D117210

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/test/CodeGen/AArch64/sve-cmp-folds.ll
  llvm/test/CodeGen/RISCV/rvv/cmp-folds.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117210.403963.patch
Type: text/x-patch
Size: 9329 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220128/900dd3b2/attachment-0001.bin>


More information about the llvm-commits mailing list