Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AArch64][SME] Set fn attributes correctly on __arm_tpidr2_save call.
Changing the way the attribute is created changes the way the attribute is added. Now it seems to be correctly added as a function attribute, whereas before it was not. This led ISel ignoring attributes and setting up a lazy-save buffer for the call to __arm_tpidr2_save. This patch also marks the intrinsic call as 'preserves_za' which together with the above prevents the code-generator from setting up a lazy-save buffer. Reviewed By: kmclaughlin Differential Revision: https://reviews.llvm.org/D136342
- Loading branch information
1 parent
1dc3937
commit e82cace
Showing
2 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters