diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-06-28 16:59:53 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-06-28 16:59:53 +0000 |
commit | 254a6450ddb74ed1211b4c7aa5196b6d4aa71a2c (patch) | |
tree | af60fe237cae56cccf7beb25348a92a13bf2cadb | |
parent | 3d846501fbab923325e2dde8c0a3013bcf8b96c7 (diff) | |
download | bcm5719-llvm-254a6450ddb74ed1211b4c7aa5196b6d4aa71a2c.tar.gz bcm5719-llvm-254a6450ddb74ed1211b4c7aa5196b6d4aa71a2c.zip |
AMDGPU: Fix typo
llvm-svn: 274034
-rw-r--r-- | llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp b/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp index 50d12393482..2ba5416d4b6 100644 --- a/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp +++ b/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp @@ -535,15 +535,14 @@ void GCNPassConfig::addPreSched2() { } void GCNPassConfig::addPreEmitPass() { - // The hazard recognizer that runs as part of the post-ra scheduler does not - // gaurantee to be able handle all hazards correctly. This is because - // if there are multiple scheduling regions in a basic block, the regions - // are scheduled bottom up, so when we begin to schedule a region we don't - // know what instructions were emitted directly before it. + // guarantee to be able handle all hazards correctly. This is because if there + // are multiple scheduling regions in a basic block, the regions are scheduled + // bottom up, so when we begin to schedule a region we don't know what + // instructions were emitted directly before it. // - // Here we add a stand-alone hazard recognizer pass which can handle all cases. - // hazard recognizer pass. + // Here we add a stand-alone hazard recognizer pass which can handle all + // cases. addPass(&PostRAHazardRecognizerID); addPass(createSIInsertWaitsPass()); |