[PATCH] D101232: [InstCombine] Fold comparison of integers by parts

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 1 03:07:00 PDT 2021


nikic updated this revision to Diff 342132.
nikic edited the summary of this revision.
nikic added a comment.

Also handle "or of ne". Doesn't really make sense to only handle half of the pattern, and it doesn't come at any additional complexity.


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

https://reviews.llvm.org/D101232

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/test/Transforms/InstCombine/eq-of-parts.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101232.342132.patch
Type: text/x-patch
Size: 26146 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210501/1126d667/attachment.bin>


More information about the llvm-commits mailing list