The new pass implements the following:
- Inserts code at the start of an arm_new_za function to commit a lazy-save when the lazy-save mechanism is active.
- Adds a smstart intrinsic at the start of the function.
- Adds a smstop intrinsic at the end of the function.
Patch co-authored by kmclaughlin.
How do you plan to use this further?
As the pass already handles arm_new_za, is there any specific functionality that needs to handled after the SelectionDAG ?