diff options
| author | Craig Topper <craig.topper@sifive.com> | 2023-02-17 08:43:40 -0800 |
|---|---|---|
| committer | Craig Topper <craig.topper@sifive.com> | 2023-02-17 08:43:40 -0800 |
| commit | 22b564c64b736f5a422b3967720c871c8f9eee9b (patch) | |
| tree | dda238e33974bc7fa9dc28581f845ebe492c547b /llvm/lib/TextAPI/TextStubCommon.cpp | |
| parent | b22aa3d74f276afbfbd10953de68e3b4f8cef907 (diff) | |
| download | llvm-22b564c64b736f5a422b3967720c871c8f9eee9b.zip llvm-22b564c64b736f5a422b3967720c871c8f9eee9b.tar.gz llvm-22b564c64b736f5a422b3967720c871c8f9eee9b.tar.bz2 | |
[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
Diffstat (limited to 'llvm/lib/TextAPI/TextStubCommon.cpp')
0 files changed, 0 insertions, 0 deletions
