[llvm] r210968 - Fix typo

Matt Arsenault Matthew.Arsenault at amd.com
Fri Jun 13 21:26:07 PDT 2014


Author: arsenm
Date: Fri Jun 13 23:26:07 2014
New Revision: 210968

URL: http://llvm.org/viewvc/llvm-project?rev=210968&view=rev
Log:
Fix typo

Modified:
    llvm/trunk/lib/Target/R600/AMDGPUFrameLowering.cpp

Modified: llvm/trunk/lib/Target/R600/AMDGPUFrameLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/AMDGPUFrameLowering.cpp?rev=210968&r1=210967&r2=210968&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/AMDGPUFrameLowering.cpp (original)
+++ llvm/trunk/lib/Target/R600/AMDGPUFrameLowering.cpp Fri Jun 13 23:26:07 2014
@@ -83,7 +83,7 @@ int AMDGPUFrameLowering::getFrameIndexOf
   for (int i = MFI->getObjectIndexBegin(); i < UpperBound; ++i) {
     OffsetBytes = RoundUpToAlignment(OffsetBytes, MFI->getObjectAlignment(i));
     OffsetBytes += MFI->getObjectSize(i);
-    // Each regiter holds 4 bytes, so we must always align the offset to at
+    // Each register holds 4 bytes, so we must always align the offset to at
     // least 4 bytes, so that 2 frame objects won't share the same register.
     OffsetBytes = RoundUpToAlignment(OffsetBytes, 4);
   }





More information about the llvm-commits mailing list