forked from OSchip/llvm-project
[ARM] Remove getHWDivName (NFC)
This function seems to be unused for at least 5 years.
This commit is contained in:
parent
687181caba
commit
1722109208
|
@ -252,7 +252,6 @@ StringRef getArchExtFeature(StringRef ArchExt);
|
|||
bool appendArchExtFeatures(StringRef CPU, ARM::ArchKind AK, StringRef ArchExt,
|
||||
std::vector<StringRef> &Features,
|
||||
unsigned &ArgFPUKind);
|
||||
StringRef getHWDivName(uint64_t HWDivKind);
|
||||
|
||||
// Information by Name
|
||||
unsigned getDefaultFPU(StringRef CPU, ArchKind AK);
|
||||
|
|
|
@ -540,14 +540,6 @@ bool ARM::appendArchExtFeatures(StringRef CPU, ARM::ArchKind AK,
|
|||
return StartingNumFeatures != Features.size();
|
||||
}
|
||||
|
||||
StringRef ARM::getHWDivName(uint64_t HWDivKind) {
|
||||
for (const auto &D : HWDivNames) {
|
||||
if (HWDivKind == D.ID)
|
||||
return D.getName();
|
||||
}
|
||||
return StringRef();
|
||||
}
|
||||
|
||||
StringRef ARM::getDefaultCPU(StringRef Arch) {
|
||||
ArchKind AK = parseArch(Arch);
|
||||
if (AK == ArchKind::INVALID)
|
||||
|
|
Loading…
Reference in New Issue