Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RISCV] Add preferred function and loop alignment RISCVSubtarget. NFC
These seem like properties we will want to adjust based on -mtune. Move them to subtarget like is done on ARM and AArch64. Don't add any overrides yet. Note there's a slight change here. We are now passing Align(1) for preferred function alignment where we previously passed the minimum alignment. As far as I could tell, it will be maxed with min when it used so this should be ok. Reviewed By: reames Differential Revision: https://reviews.llvm.org/D144048
- Loading branch information
Showing
2 changed files
with
9 additions
and
1 deletion.
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