diff options
author | Min-Yih Hsu <min.hsu@sifive.com> | 2025-10-08 14:10:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-08 14:10:21 -0700 |
commit | 86ad98c37aee575bc21460a367f3e9b824f289cb (patch) | |
tree | a709e93b79fa75dc4239f7d070f4e2cb1ed561ba /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | cc14b589659b6c6c9fb65de7a274287f2490d345 (diff) | |
download | llvm-86ad98c37aee575bc21460a367f3e9b824f289cb.zip llvm-86ad98c37aee575bc21460a367f3e9b824f289cb.tar.gz llvm-86ad98c37aee575bc21460a367f3e9b824f289cb.tar.bz2 |
[clang][Driver][RISCV] Rename `getRISCFeaturesFromMcpu`. NFCI (#162545)
This function, which has a typo in the name btw, is no longer doing what
it was created to do: instead of deducting non-extension target features
from `-mcpu` -- a task that was (more or less) subsumed by
`riscv::getRISCVTargetFeatures` -- it is only checking if the `-mcpu`
value is valid or not now. Therefore, this patch renames it into
`isValidRISCVCPU` and exits early if it's not.
NFCI.
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions