-
Notifications
You must be signed in to change notification settings - Fork 11.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[InstSimplify] don't commute constant expression operand in min/max c…
…alls 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.
- Loading branch information
1 parent
b5bccde
commit 222e1c7
Showing
2 changed files
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters