Re: [PATCH] PR101260 regcprop: Add mode change check for copy reg

2022-01-28 Thread Jeff Law via Gcc-patches
On 1/21/2022 9:52 AM, Andreas Krebbel via Gcc-patches wrote: When propagating a multi-word register into an access with a smaller mode the can_change_mode backend hook is already consulted for the original register. This however is also required for the intermediate copy in copy_regno which

[PATCH] PR101260 regcprop: Add mode change check for copy reg

2022-01-21 Thread Andreas Krebbel via Gcc-patches
When propagating a multi-word register into an access with a smaller mode the can_change_mode backend hook is already consulted for the original register. This however is also required for the intermediate copy in copy_regno which might use a different register class. Bootstrapped on x86_64 and