aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2013-12-12 08:00:34 +0000
committerGabor Greif <ggreif@gmail.com>2013-12-12 08:00:34 +0000
commit5fde43bf2e22f3cd7aad94be23ebd6f966551043 (patch)
treedd36a489fe2929e983774dfc2e51269347908468 /llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
parent46a10eec28b8eaf33f0fbeef5f321c21b1f3229c (diff)
downloadllvm-5fde43bf2e22f3cd7aad94be23ebd6f966551043.zip
llvm-5fde43bf2e22f3cd7aad94be23ebd6f966551043.tar.gz
llvm-5fde43bf2e22f3cd7aad94be23ebd6f966551043.tar.bz2
typo in comment
llvm-svn: 197136
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetMachine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
index 1d228b6..43d6b1c 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
@@ -37,7 +37,7 @@ extern "C" void LLVMInitializePowerPCTarget() {
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.
@@ -62,7 +62,7 @@ static std::string getDataLayoutString(const PPCSubtarget &ST) {
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