[PATCH] D47041: [ValueTracking] Teach computeKnownBits that the result of an absolute value pattern that uses nsw flag is always positive.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 22 15:12:58 PDT 2018


craig.topper added a comment.

That should have said abs(x) >= 0 is always true.


https://reviews.llvm.org/D47041





More information about the llvm-commits mailing list