[llvm] r197136 - typo in comment

Gabor Greif ggreif at gmail.com
Thu Dec 12 00:00:34 PST 2013


Author: ggreif
Date: Thu Dec 12 02:00:34 2013
New Revision: 197136

URL: http://llvm.org/viewvc/llvm-project?rev=197136&view=rev
Log:
typo in comment

Modified:
    llvm/trunk/lib/Target/PowerPC/PPCTargetMachine.cpp

Modified: llvm/trunk/lib/Target/PowerPC/PPCTargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCTargetMachine.cpp?rev=197136&r1=197135&r2=197136&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCTargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCTargetMachine.cpp Thu Dec 12 02:00:34 2013
@@ -37,7 +37,7 @@ extern "C" void LLVMInitializePowerPCTar
 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(c
   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





More information about the llvm-commits mailing list