Re: [PATCH] PR rtl-optimization/100263: Ensure register can change mode

2021-05-05 Thread Eric Botcazou
> For move2add_valid_value_p we also have to ask the target whether a > register can be accessed in a different mode than it was set before. > > gcc/ChangeLog: > > PR rtl-optimization/100263 > * postreload.c (move2add_valid_value_p): Ensure register can > change mode. > >

[PATCH] PR rtl-optimization/100263: Ensure register can change mode

2021-05-05 Thread Stefan Schulze Frielinghaus via Gcc-patches
For move2add_valid_value_p we also have to ask the target whether a register can be accessed in a different mode than it was set before. gcc/ChangeLog: PR rtl-optimization/100263 * postreload.c (move2add_valid_value_p): Ensure register can change mode. Bootstrapped and