[InstSimplify] don't commute constant expression operand in min/max calls
The test shows that we would fail to consistently fold the instruction based on the max value operand. This is also the root cause for issue #57986, but I'll add an instcombine test + assert for that exact problem in another commit.
parent
b5bccded
Please register or sign in to comment