[PATCH] D29587: [DAGCombiner] mulhi + 1 never overflow.

Amaury SECHET via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 6 09:13:19 PST 2017


deadalnix created this revision.

This can be used to optimize large multiplications after legalization.

Depends on https://reviews.llvm.org/D29565


https://reviews.llvm.org/D29587

Files:
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  test/CodeGen/X86/mul-i1024.ll
  test/CodeGen/X86/mul-i256.ll
  test/CodeGen/X86/mul-i512.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29587.87241.patch
Type: text/x-patch
Size: 114078 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170206/40a511bb/attachment-0001.bin>


More information about the llvm-commits mailing list