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

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


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

Remove oneuse check


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.512728.patch
Type: text/x-patch
Size: 7890 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230412/2d70ce64/attachment.bin>


More information about the llvm-commits mailing list