[PATCH] D29053: [InstSimplify] try to eliminate icmp Pred (add nsw X, C1), C2

Nuno Lopes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 24 03:07:49 PST 2017


nlopes accepted this revision.
nlopes added a comment.
This revision is now accepted and ready to land.

Alive is still not great for thins kind of patch; I guess it needs some macro support.
But you can use a little more general preconditions like this: http://rise4fun.com/Alive/Tz0

Regardless, the patch LGTM.


https://reviews.llvm.org/D29053





More information about the llvm-commits mailing list