diff options
author | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2017-06-27 10:35:37 +0000 |
---|---|---|
committer | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2017-06-27 10:35:37 +0000 |
commit | 6a391bbf40efb013ac4a5fced7318614a967786a (patch) | |
tree | 3c80acd4f6913e8e733f8043bd81ed54a02cff28 /llvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp | |
parent | 99bee7f4a174a2f7a7394b70cc6877be6017a21c (diff) | |
download | bcm5719-llvm-6a391bbf40efb013ac4a5fced7318614a967786a.tar.gz bcm5719-llvm-6a391bbf40efb013ac4a5fced7318614a967786a.zip |
fix trivial typos, NFC
succesor -> successor
llvm-svn: 306393
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp')
-rw-r--r-- | llvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp b/llvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp index 2071b6f157c..9a391d06c9e 100644 --- a/llvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp +++ b/llvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp @@ -1776,7 +1776,7 @@ static void removeExternalCFGEdges(MachineBasicBlock *StartMBB, E = EndMBB->succ_end(); PI != E; ++PI) { // Either we have a back-edge to the entry block, or a back-edge to the - // succesor of the entry block since the block may be split. + // successor of the entry block since the block may be split. if ((*PI) != StartMBB && !((*PI) == StartMBBSucc && StartMBB != EndMBB && SuccSize == 1)) { Succs.insert( @@ -1831,7 +1831,7 @@ MachineBasicBlock *AMDGPUMachineCFGStructurizer::createIfBlock( IfBB->addSuccessor(CodeBBStart); DEBUG(dbgs() << "Created If block: " << IfBB->getNumber() << "\n"); - // Ensure that the MergeBB is a succesor of the CodeEndBB. + // Ensure that the MergeBB is a successor of the CodeEndBB. if (!CodeBBEnd->isSuccessor(MergeBB)) CodeBBEnd->addSuccessor(MergeBB); |