diff options
author | Alexey Karyakin <akaryaki@quicinc.com> | 2025-06-27 15:05:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-27 15:05:28 -0500 |
commit | e9c9adcefed10fa07910aae8f2074aedf7bd8b7e (patch) | |
tree | f7bdba9aaffff495933f9a1bf4fc466af0487565 /llvm/lib/FileCheck/FileCheck.cpp | |
parent | 21993f0a47f0364008803862dee093de62cae844 (diff) | |
download | llvm-e9c9adcefed10fa07910aae8f2074aedf7bd8b7e.zip llvm-e9c9adcefed10fa07910aae8f2074aedf7bd8b7e.tar.gz llvm-e9c9adcefed10fa07910aae8f2074aedf7bd8b7e.tar.bz2 |
[Hexagon] NFC: Reduce the amount of version-specific code (#145812)
There is a lot of redundant code that needs to be modified when new
Hexagon versions are added. Reduce the amount of this redundancy.
- compute ELF flags and attributes based on version feature names;
- simplify EnableHVX option handling by using arch features instead of
arch version enums;
- simplify completeHVXFeatures() by using features;
- delete several unused or redundant functions and constants:
isCPUValid, getCpu, getHexagonCPUSuffix;
- do not set HexagonArchVersion in initializeSubtargetDependencies, it
is set in ParseSubtargetFeatures;
Signed-off-by: Alexey Karyakin <akaryaki@quicinc.com>
Diffstat (limited to 'llvm/lib/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions