[PowerPC] Reduce names from Power8Vector to P8Vector

Per Hal Finkel's review, improving typability of some variable names.

llvm-svn: 219515
This commit is contained in:
Bill Schmidt 2014-10-10 17:21:23 +00:00
parent dcce023549
commit 8c184e3627
1 changed files with 4 additions and 4 deletions

View File

@ -672,14 +672,14 @@ class PPCTargetInfo : public TargetInfo {
// Target cpu features.
bool HasVSX;
bool HasPower8Vector;
bool HasP8Vector;
protected:
std::string ABI;
public:
PPCTargetInfo(const llvm::Triple &Triple)
: TargetInfo(Triple), HasVSX(false), HasPower8Vector(false) {
: TargetInfo(Triple), HasVSX(false), HasP8Vector(false) {
BigEndian = (Triple.getArch() != llvm::Triple::ppc64le);
LongDoubleWidth = LongDoubleAlign = 128;
LongDoubleFormat = &llvm::APFloat::PPCDoubleDouble;
@ -936,7 +936,7 @@ bool PPCTargetInfo::handleTargetFeatures(std::vector<std::string> &Features,
}
if (Feature == "power8-vector") {
HasPower8Vector = true;
HasP8Vector = true;
continue;
}
@ -1090,7 +1090,7 @@ void PPCTargetInfo::getTargetDefines(const LangOptions &Opts,
if (HasVSX)
Builder.defineMacro("__VSX__");
if (HasPower8Vector)
if (HasP8Vector)
Builder.defineMacro("__POWER8_VECTOR__");
// FIXME: The following are not yet generated here by Clang, but are