[X86] Remove getCPUKindCanonicalName which is unused.
Differential Revision: https://reviews.llvm.org/D59578 llvm-svn: 356580
This commit is contained in:
parent
e8062d20c9
commit
140f766f14
|
@ -1540,18 +1540,6 @@ void X86TargetInfo::getCPUSpecificCPUDispatchFeatures(
|
|||
WholeList.split(Features, ',', /*MaxSplit=*/-1, /*KeepEmpty=*/false);
|
||||
}
|
||||
|
||||
std::string X86TargetInfo::getCPUKindCanonicalName(CPUKind Kind) const {
|
||||
switch (Kind) {
|
||||
case CK_Generic:
|
||||
return "";
|
||||
#define PROC(ENUM, STRING, IS64BIT) \
|
||||
case CK_##ENUM: \
|
||||
return STRING;
|
||||
#include "clang/Basic/X86Target.def"
|
||||
}
|
||||
llvm_unreachable("Invalid CPUKind");
|
||||
}
|
||||
|
||||
// We can't use a generic validation scheme for the cpus accepted here
|
||||
// versus subtarget cpus accepted in the target attribute because the
|
||||
// variables intitialized by the runtime only support the below currently
|
||||
|
|
|
@ -121,8 +121,6 @@ protected:
|
|||
|
||||
CPUKind getCPUKind(StringRef CPU) const;
|
||||
|
||||
std::string getCPUKindCanonicalName(CPUKind Kind) const;
|
||||
|
||||
enum FPMathKind { FP_Default, FP_SSE, FP_387 } FPMath = FP_Default;
|
||||
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue