[PATCH] InstCombine: merge constants in both operands of icmp.

Erik Verbruggen erik.verbruggen at me.com
Tue Mar 25 08:33:34 PDT 2014


[PATCH] InstCombine: merge constants in both operands of icmp.

E.g.: x + 10 < 0 --> x < -10 (if add has nsw)
      x - 10 < 0 --> x < 10 (if sub has nsw)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-InstCombine-merge-constants-in-both-operands-of-icmp.patch
Type: application/octet-stream
Size: 6326 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140325/8259b906/attachment.obj>


More information about the llvm-commits mailing list