[mlir][Arith] Make integer max/min commutative.
Make MaxSI, MaxUI, MinSI and MinUI commutative, so they will be canonicalized to have its constants appear as the second operand. And the constant folder will match more cases. Differential Revision: https://reviews.llvm.org/D122225
Loading
Please sign in to comment