[PATCH] D141188: [MergeICmps] Adapt to non-eq comparisons

Allen zhong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 9 06:43:27 PST 2023


Allen updated this revision to Diff 487410.
Allen marked 2 inline comments as done.
Allen added a comment.

Address comments
1、Add member Predicate_ for BCECmpChain to make the code simpler
2、Add assert for ConstBase and Const to guard the type is i1
3、rename IsEqual to IsCmp


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

https://reviews.llvm.org/D141188

Files:
  llvm/lib/Transforms/Scalar/MergeICmps.cpp
  llvm/test/Transforms/MergeICmps/X86/pr59740.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141188.487410.patch
Type: text/x-patch
Size: 10234 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230109/4c3a024a/attachment.bin>


More information about the llvm-commits mailing list