[llvm] r211511 - Fix missing words in sentence

Matt Arsenault Matthew.Arsenault at amd.com
Mon Jun 23 11:00:27 PDT 2014


Author: arsenm
Date: Mon Jun 23 13:00:26 2014
New Revision: 211511

URL: http://llvm.org/viewvc/llvm-project?rev=211511&view=rev
Log:
Fix missing words in sentence

Modified:
    llvm/trunk/lib/Target/R600/InstPrinter/AMDGPUInstPrinter.cpp

Modified: llvm/trunk/lib/Target/R600/InstPrinter/AMDGPUInstPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/InstPrinter/AMDGPUInstPrinter.cpp?rev=211511&r1=211510&r2=211511&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/InstPrinter/AMDGPUInstPrinter.cpp (original)
+++ llvm/trunk/lib/Target/R600/InstPrinter/AMDGPUInstPrinter.cpp Mon Jun 23 13:00:26 2014
@@ -99,9 +99,9 @@ void AMDGPUInstPrinter::printRegOperand(
     return;
   }
 
-  // The low 8 bits encoding value is the register index, for both VGPRs and
-  // SGPRs.
-  unsigned RegIdx = MRI.getEncodingValue(reg) & ((1 << 8)  - 1);
+  // The low 8 bits of the encoding value is the register index, for both VGPRs
+  // and SGPRs.
+  unsigned RegIdx = MRI.getEncodingValue(reg) & ((1 << 8) - 1);
   if (NumRegs == 1) {
     O << Type << RegIdx;
     return;





More information about the llvm-commits mailing list