[PATCH] D140666: [InstCombine] combine intersection for inequality icmps

Yingchi Long via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 31 00:01:48 PST 2023


inclyc updated this revision to Diff 493501.
inclyc added a comment.

Address comments form @bcl5980

- Merge Mixed & NotMixed codes
- `return Builder.CreateICmp(NewCC, CEVal, NewAnd);` -> `return Builder.CreateICmp(CC, CEVal, NewAnd);`
- Bail out extra assertions


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140666

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/test/Transforms/InstCombine/icmp-logical.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140666.493501.patch
Type: text/x-patch
Size: 4460 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230131/368a8f2a/attachment.bin>


More information about the llvm-commits mailing list