git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197136
91177308-0d34-0410-b5e6-
96231b3b80d8
static std::string getDataLayoutString(const PPCSubtarget &ST) {
const Triple &T = ST.getTargetTriple();
- // PPC is big endian
+ // PPC is big endian.
std::string Ret = "E";
// PPC64 has 64 bit pointers, PPC32 has 32 bit pointers.
if (ST.isPPC64() && ST.isSVR4ABI())
Ret += "-v128:128:128";
- // PPC64 has 32 and 64 bit register, PPC32 has only 32 bit ones.
+ // PPC64 has 32 and 64 bit registers, PPC32 has only 32 bit ones.
if (ST.isPPC64())
Ret += "-n32:64";
else