middle-end: replace GET_MODE_WIDER_MODE with GET_MODE_NEXT_MODE
authorTamar Christina <tamar.christina@arm.com>
Thu, 17 Nov 2022 08:14:44 +0000 (08:14 +0000)
committerTamar Christina <tamar.christina@arm.com>
Thu, 17 Nov 2022 08:14:44 +0000 (08:14 +0000)
commit1bc7efa948f75131aa29d5a2337641c4e39fc7c6
tree4598b09bba6e389886337b01c379e1ebac74b6c0
parent2b2f2ee49a33419f9d19f548e6a8ce520818a5d2
middle-end: replace GET_MODE_WIDER_MODE with GET_MODE_NEXT_MODE

After the fix to the addsub patch yesterday for bootstrap I had only regtested on x86.
While looking today it seemed the new tests were failing, this was caused
by a change in the behavior of the GET_MODE_WIDER_MODE macro on trunk.

gcc/ChangeLog:

* match.pd: Replace GET_MODE_WIDER_MODE with
custom code.
gcc/match.pd