]> git.ipfire.org Git - thirdparty/gcc.git/commit
MATCH: Move `X <= MAX(X, Y)` before `MIN (X, C1) < C2` pattern
authorAndrew Pinski <apinski@marvell.com>
Tue, 12 Sep 2023 05:27:24 +0000 (05:27 +0000)
committerAndrew Pinski <apinski@marvell.com>
Wed, 13 Sep 2023 12:06:48 +0000 (12:06 +0000)
commit4a937fa94fde09ab96b494b32ed4d569a199c5be
treeba003d0c4b370871ee1173274018f524e227b36b
parent06bedc3860d3e61857d72ffe699f79ed5c92855f
MATCH: Move `X <= MAX(X, Y)` before `MIN (X, C1) < C2` pattern

Since matching C1 as C2 here will decrease how much other simplifications
will need to happen to get the final answer.

OK? Bootstrapped and tested on x86_64-linux-gnu.

gcc/ChangeLog:

* match.pd (`X <= MAX(X, Y)`):
Move before `MIN (X, C1) < C2` pattern.
gcc/match.pd