[llvm] r274034 - AMDGPU: Fix typo

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 28 09:59:53 PDT 2016


Author: arsenm
Date: Tue Jun 28 11:59:53 2016
New Revision: 274034

URL: http://llvm.org/viewvc/llvm-project?rev=274034&view=rev
Log:
AMDGPU: Fix typo

Modified:
    llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp

Modified: llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp?rev=274034&r1=274033&r2=274034&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp Tue Jun 28 11:59:53 2016
@@ -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());




More information about the llvm-commits mailing list