summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2014-07-07 18:34:42 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2014-07-07 18:34:42 +0000
commitfda9dad17f535f9522b6c667767fe01046998b98 (patch)
tree5e2616276c94c3040cfdb1e8f216222aeb45fbb0 /llvm/lib/Target
parent58a046fe565f46c25f7d8c807158ff5997014f88 (diff)
downloadbcm5719-llvm-fda9dad17f535f9522b6c667767fe01046998b98.tar.gz
bcm5719-llvm-fda9dad17f535f9522b6c667767fe01046998b98.zip
Fix typo, weird indentation
llvm-svn: 212472
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/R600/SIMachineFunctionInfo.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/Target/R600/SIMachineFunctionInfo.cpp b/llvm/lib/Target/R600/SIMachineFunctionInfo.cpp
index ce0f82441fb..e2df950fd27 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;
}
OpenPOWER on IntegriCloud