Skip to content

Commit

Permalink
typo in comment
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197136 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
ggreif committed Dec 12, 2013
1 parent 60a21f2 commit e5f6931
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Target/PowerPC/PPCTargetMachine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit e5f6931

Please sign in to comment.