[PING][PATCH v2] Add new hardreg PRE pass

2025-01-06 Thread Andrew Carlotti
On Tue, Dec 17, 2024 at 11:53:24AM +, Andrew Carlotti wrote: > This pass is used to optimise assignments to the FPMR register in > aarch64. I chose to implement this as a middle-end pass because it > mostly reuses the existing RTL PRE code within gcse.cc. > > Compared to RTL PRE, the key diff

[PATCH v2] Add new hardreg PRE pass

2024-12-17 Thread Andrew Carlotti
This pass is used to optimise assignments to the FPMR register in aarch64. I chose to implement this as a middle-end pass because it mostly reuses the existing RTL PRE code within gcse.cc. Compared to RTL PRE, the key difference in this new pass is that we insert new writes directly to the destin