// 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;
}
if (Feature == "power8-vector") {
- HasPower8Vector = true;
+ HasP8Vector = true;
continue;
}
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