[PATCH] D74141: [InstCombine] Simplify a umul overflow check to a != 0 && b != 0.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 17 12:57:54 PST 2020


fhahn updated this revision to Diff 245027.
fhahn added a comment.

Remove UMulWithOv->hasNUses(2) as suggested @lebedev.ri.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74141

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/test/Transforms/InstCombine/umul-sign-check.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74141.245027.patch
Type: text/x-patch
Size: 5797 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200217/c6600e10/attachment.bin>


More information about the llvm-commits mailing list