[PATCH] D17184: [LVI] Extend select handling to catch min/max/clamp idioms

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 12 11:18:35 PST 2016


reames added inline comments.

================
Comment at: lib/IR/ConstantRange.cpp:718
@@ +717,3 @@
+ConstantRange::smin(const ConstantRange &Other) const {
+  // X smax Y is: range(smin(X_smin, Y_smin),
+  //                    smin(X_smax, Y_smax))
----------------
ab wrote:
> smax -> smin? Same below
Yep, stale comment.  Will fix, thanks.


http://reviews.llvm.org/D17184





More information about the llvm-commits mailing list