Commit 86ad98c
authored
[clang][Driver][RISCV] Rename
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.getRISCFeaturesFromMcpu. NFCI (#162545)1 parent cc14b58 commit 86ad98c
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 52 | + | |
| 53 | + | |
57 | 54 | | |
58 | 55 | | |
59 | 56 | | |
| |||
63 | 60 | | |
64 | 61 | | |
65 | 62 | | |
| 63 | + | |
66 | 64 | | |
| 65 | + | |
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
| |||
84 | 83 | | |
85 | 84 | | |
86 | 85 | | |
87 | | - | |
| 86 | + | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments