diff options
author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2014-10-10 17:21:23 +0000 |
---|---|---|
committer | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2014-10-10 17:21:23 +0000 |
commit | 824d789b17827a1e0e1e76412b5e8db598b03ead (patch) | |
tree | d722e230f1f387334a2d3da3779c2065307973b8 /lib/Basic | |
parent | b6821bf78018c7a6d200be695ede5fdaa147cb37 (diff) |
[PowerPC] Reduce names from Power8Vector to P8Vector
Per Hal Finkel's review, improving typability of some variable names.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219515 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic')
-rw-r--r-- | lib/Basic/Targets.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 902f1c3c61..8a5d85242c 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -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 |