Re: [committed] Improve quality of code from LRA register elimination

2023-08-23 Thread Jeff Law via Gcc-patches
On 8/23/23 14:13, Jeff Law wrote: This is primarily Jivan's work, I'm mostly responsible for the write-up and coordinating with Vlad on a few questions. On targets with limitations on immediates usable in arithmetic instructions, LRA's register elimination phase can construct fairly poor co

[committed] Improve quality of code from LRA register elimination

2023-08-23 Thread Jeff Law
This is primarily Jivan's work, I'm mostly responsible for the write-up and coordinating with Vlad on a few questions. On targets with limitations on immediates usable in arithmetic instructions, LRA's register elimination phase can construct fairly poor code. This example (from the GCC test