[PATCH] InstCombine: Recognize an unsigned mul with overflow idiom into umul.

Erik Verbruggen erik.verbruggen at me.com
Wed Mar 19 09:47:32 PDT 2014


[PATCH] InstCombine: Recognize an unsigned mul with overflow idiom into umul.

    (a*b) <u a  --> llvm.umul.with.overflow.
    (a*b) <u b  --> llvm.umul.with.overflow.
    a >u (a*b)  --> llvm.umul.with.overflow.
    b >u (a*b)  --> llvm.umul.with.overflow.

This resolves a README entry and technically resolves PR4917.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-InstCombine-Recognize-an-unsigned-mul-with-overflow-.patch
Type: application/octet-stream
Size: 7541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140319/bb4145f9/attachment.obj>


More information about the llvm-commits mailing list