[PATCH] D65144: [InstCombine] Fold '((%x * %y) u/ %x) != %y' to '@llvm.umul.with.overflow' + overflow bit extraction

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 23 08:06:43 PDT 2019


lebedev.ri updated this revision to Diff 211306.
lebedev.ri added a comment.

NFC, rebase, improve comments.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D65144

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/lib/Transforms/InstCombine/InstCombineInternal.h
  llvm/test/Transforms/InstCombine/unsigned-mul-lack-of-overflow-check-via-mul-udiv.ll
  llvm/test/Transforms/InstCombine/unsigned-mul-overflow-check-via-mul-udiv.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65144.211306.patch
Type: text/x-patch
Size: 12176 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190723/d9d94512/attachment.bin>


More information about the llvm-commits mailing list