[ARM] Add pass for handling undef early-clobber values
When using Greedy Register Allocation, there are times where early-clobber values are ignored, and assigned the same register. This is illeagal behaviour for these intructions. To get around this, using Pseudo instructions for early-clobber registers gives them a definition and allows Greedy to assign them to a different register. This then meets the ARM Architecture Reference Manual and matches the defined behaviour. This patch takes a similar approach to the RISC-V pass added as part of #3b8c0b34 to fix issue 50157.
parent
b6f96776
Please register or sign in to comment