Fix some comment typos.
[oota-llvm.git] / lib / Target / AMDGPU / SIInsertWaits.cpp
index 90a37f174682da2cc0ad2e865235494738a6bff4..df76b457af3a99bb9b74105a712055f30ae48abd 100644 (file)
@@ -261,7 +261,7 @@ void SIInsertWaits::pushInstruction(MachineBasicBlock &MBB,
 
   if (MBB.getParent()->getSubtarget<AMDGPUSubtarget>().getGeneration() >=
       AMDGPUSubtarget::VOLCANIC_ISLANDS) {
-    // Any occurence of consecutive VMEM or SMEM instructions forms a VMEM
+    // Any occurrence of consecutive VMEM or SMEM instructions forms a VMEM
     // or SMEM clause, respectively.
     //
     // The temporary workaround is to break the clauses with S_NOP.