[PATCH] D138814: [InstCombine] Combine lshr of add -> (a + b < a)

Pierre van Houtryve via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 9 02:50:30 PST 2023


Pierre-vh updated this revision to Diff 487358.
Pierre-vh marked an inline comment as done.
Pierre-vh added a comment.

Add m_OneUse to m_ZExt in match


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138814

Files:
  llvm/lib/Transforms/InstCombine/InstCombineInternal.h
  llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
  llvm/test/Transforms/InstCombine/lshr.ll
  llvm/test/Transforms/InstCombine/shift-add.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138814.487358.patch
Type: text/x-patch
Size: 12752 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230109/36eab808/attachment.bin>


More information about the llvm-commits mailing list