From fda9dad17f535f9522b6c667767fe01046998b98 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 7 Jul 2014 18:34:42 +0000 Subject: [PATCH] Fix typo, weird indentation llvm-svn: 212472 --- llvm/lib/Target/R600/SIMachineFunctionInfo.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Target/R600/SIMachineFunctionInfo.cpp b/llvm/lib/Target/R600/SIMachineFunctionInfo.cpp index ce0f824..e2df950 100644 --- a/llvm/lib/Target/R600/SIMachineFunctionInfo.cpp +++ b/llvm/lib/Target/R600/SIMachineFunctionInfo.cpp @@ -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; } -- 2.7.4