[PATCH] D13687: [SCEV] Opportunistically interpret unsigned constraints as signed

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 12 21:30:05 PDT 2015

sanjoy created this revision.
sanjoy added reviewers: atrick, hfinkel, reames, nlewycky.
sanjoy added a subscriber: llvm-commits.

An unsigned comparision is equivalent to is corresponding signed version
if both the operands being compared are positive.  Teach SCEV to use
this fact when profitable.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13687.37213.patch
Type: text/x-patch
Size: 3010 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151013/cbeab477/attachment.bin>

More information about the llvm-commits mailing list