[PATCH] [Instcombine] Recognize test for overflow in integer multiplication.

Serge Pavlov sepavloff at gmail.com
Sun Mar 9 23:38:16 PDT 2014


  Fixed pattern recognition

  Pattern recognition if fixed for ult comparison. Also added comparisons against MAX+1 value.
  Thanks to Akira Hatanaka!

http://llvm-reviews.chandlerc.com/D2814

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D2814?vs=7345&id=7673#toc

Files:
  lib/Transforms/InstCombine/InstCombineCompares.cpp
  test/Transforms/InstCombine/overflow-mul.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2814.3.patch
Type: text/x-patch
Size: 15286 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140309/20171454/attachment.bin>


More information about the llvm-commits mailing list