[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 14:45:34 PST 2020


fhahn updated this revision to Diff 245039.
fhahn marked 2 inline comments as done.
fhahn added a comment.

use m_CombineAnd as suggested by @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.245039.patch
Type: text/x-patch
Size: 6927 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200217/c9246a60/attachment.bin>


More information about the llvm-commits mailing list