Re: [PR103097] tolerate reg-stack cross-block malformed asms

2021-12-08 Thread Alexandre Oliva via Gcc-patches
On Dec 8, 2021, Jeff Law wrote: > On 12/7/2021 7:00 PM, Alexandre Oliva via Gcc-patches wrote: >> PR target/103097 >> * reg-stack.c (convert_regs_1): Move any_malformed_asm >> resetting... >> (reg_to_stack): ... here. > So it's "stickier" after your change.  ie, instead of indicating if > there

Re: [PR103097] tolerate reg-stack cross-block malformed asms

2021-12-08 Thread Jeff Law via Gcc-patches
On 12/7/2021 7:00 PM, Alexandre Oliva via Gcc-patches wrote: The testcase shows malformed asms in one block confuse reg-stack logic in another block. Moving the resetting of any_malformed_asm to the end of the pass enables it to take effect throughout the affected function. Regstrapped on x8