git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197168
91177308-0d34-0410-b5e6-
96231b3b80d8
return "generic";
}
#elif defined(__linux__) && (defined(__ppc__) || defined(__powerpc__))
return "generic";
}
#elif defined(__linux__) && (defined(__ppc__) || defined(__powerpc__))
-SringRef sys::getHostCPUName() {
+StringRef sys::getHostCPUName() {
// Access to the Processor Version Register (PVR) on PowerPC is privileged,
// and so we must use an operating-system interface to determine the current
// processor type. On Linux, this is exposed through the /proc/cpuinfo file.
// Access to the Processor Version Register (PVR) on PowerPC is privileged,
// and so we must use an operating-system interface to determine the current
// processor type. On Linux, this is exposed through the /proc/cpuinfo file.