[llvm] r212472 - Fix typo, weird indentation

Matt Arsenault Matthew.Arsenault at amd.com
Mon Jul 7 11:34:42 PDT 2014


Author: arsenm
Date: Mon Jul  7 13:34:42 2014
New Revision: 212472

URL: http://llvm.org/viewvc/llvm-project?rev=212472&view=rev
Log:
Fix typo, weird indentation

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

Modified: llvm/trunk/lib/Target/R600/SIMachineFunctionInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/SIMachineFunctionInfo.cpp?rev=212472&r1=212471&r2=212472&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/SIMachineFunctionInfo.cpp (original)
+++ llvm/trunk/lib/Target/R600/SIMachineFunctionInfo.cpp Mon Jul  7 13:34:42 2014
@@ -62,8 +62,10 @@ static unsigned createLaneVGPR(MachineRe
       return VGPR;
     }
   }
-  MF->getFunction()->getContext().emitError(
-      "Could not find S_ENGPGM instrtuction.");
+
+  LLVMContext &Ctx = MF->getFunction()->getContext();
+  Ctx.emitError("Could not find S_ENDPGM instruction.");
+
   return VGPR;
 }
 





More information about the llvm-commits mailing list