Fix typo, weird indentation
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 7 Jul 2014 18:34:42 +0000 (18:34 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 7 Jul 2014 18:34:42 +0000 (18:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212472 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/R600/SIMachineFunctionInfo.cpp

index ce0f82441fb1ea9ab8007a7ecc56f4e0b731bb51..e2df950fd271f502787f6b81aac3a804ed44be9e 100644 (file)
@@ -62,8 +62,10 @@ static unsigned createLaneVGPR(MachineRegisterInfo &MRI, MachineFunction *MF) {
       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;
 }