[PATCH] D83153: [DAGCombiner] Prevent regression in isMulAddWithConstProfitable

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 6 12:53:30 PDT 2020


benshi001 updated this revision to Diff 275616.
benshi001 edited the summary of this revision.
benshi001 added a comment.

One more change:

add check if c1*c2 is overflow.


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

https://reviews.llvm.org/D83153

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/AArch64/urem-seteq-nonzero.ll
  llvm/test/CodeGen/X86/urem-seteq-nonzero.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83153.275616.patch
Type: text/x-patch
Size: 9469 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200706/fc942e1a/attachment.bin>


More information about the llvm-commits mailing list