[PATCH] D39240: Improve clamp recognition in ValueTracking.

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 26 08:25:59 PDT 2017


spatel added a comment.

It seems less confusing to me to just make a clamp helper function where we do the swap locally without affecting anyone else. See attached patch proposal. 
F5449290: clamp.patch <https://reviews.llvm.org/F5449290>


https://reviews.llvm.org/D39240





More information about the llvm-commits mailing list