[PATCH] D125717: [InstCombine] Optimize and of icmps with power-of-2 and contiguous masks

John McIver via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 14 15:42:23 PDT 2023


jmciver updated this revision to Diff 522027.
jmciver edited the summary of this revision.
jmciver added a comment.

Resolving feedback items identified by @goldstein.w.n

In function foldLogOpOfMaskedICmpsAllZerosBMaskNeqMixedOrContiguous:

- Improved explicitness of target transformation in function comment
- Removed unused function parameter
- Added splat vector test using undef
- Refactored test for compatibility into a lambda function


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125717

Files:
  llvm/include/llvm/IR/PatternMatch.h
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/test/Transforms/InstCombine/icmp-logical.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125717.522027.patch
Type: text/x-patch
Size: 24563 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230514/bd927a13/attachment.bin>


More information about the llvm-commits mailing list