[PATCH] D147597: [InstCombine] icmp(X | LHS, C) --> icmp(X, 0)

Jun Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 12 02:19:20 PDT 2023


junaire updated this revision to Diff 512705.
junaire added a comment.

Add m_OneUse & m_c_Or -> m_Or


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147597

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/test/Transforms/InstCombine/icmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147597.512705.patch
Type: text/x-patch
Size: 4309 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230412/f58618b0/attachment.bin>


More information about the llvm-commits mailing list