diff options
author | wangpc <pc.wang@linux.alibaba.com> | 2022-01-21 13:54:09 +0800 |
---|---|---|
committer | wangpc <pc.wang@linux.alibaba.com> | 2022-01-21 14:44:26 +0800 |
commit | 8def89b5dc82efba039cca4ff9d072e169da7329 (patch) | |
tree | 8beb5e3826ff4a8b67d04e2a42756e07f5332f07 /llvm/lib/Support/TargetParser.cpp | |
parent | 82bb8a588ddea104faadb54366e3d42b5857fc06 (diff) | |
download | llvm-8def89b5dc82efba039cca4ff9d072e169da7329.zip llvm-8def89b5dc82efba039cca4ff9d072e169da7329.tar.gz llvm-8def89b5dc82efba039cca4ff9d072e169da7329.tar.bz2 |
[RISCV] Set CostPerUse to 1 iff RVC is enabled
After D86836, we can define multiple cost values for
different cost models. So here we set CostPerUse to
1 iff RVC is enabled to avoid potential impact on RA.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D117741
Diffstat (limited to 'llvm/lib/Support/TargetParser.cpp')
0 files changed, 0 insertions, 0 deletions