[InstSimplify] simplify abs if operand is known non-negative
abs() should be rare enough that using value tracking is not going to be a compile-time cost burden, so use it to reduce a variety of potential patterns. We do this in DAGCombiner too. Differential Revision: https://reviews.llvm.org/D85043
Loading
Please sign in to comment