Am 22.06.24 um 00:00 schrieb Jeff Law:
More minor fallout from the IOR->PLUS change a little while ago. This
time on xstormy16.
The pattern to swap nibbles actually tries to handle all the cases of
IOR, XOR and PLUS. But when we generate PLUS earlier in the pipeline,
the simplifications/canonicalizations are slightly different resulting
in the pattern not matching.
The avr backend has quite some (combine) patterns that combine IOR
and other operations like AND to bit move instructions etc.
Does this mean all such patterns are void now?
Johann
This patch adds an alternate pattern which matches what we get now.
Basically it looks like QImode rotate by 4, zero extended to HI.
Run in my tester to verify the regression was fixed. Pushing to the trunk.
Jeff