Fix some comment typos.
[oota-llvm.git] / lib / Target / AMDGPU / SIInstrInfo.cpp
index 68c59a1f6ca9d77e1e5b1830ac1cea16db6cab62..bfd765aa5fec0b2d0f90d9a2ffd08ebc943eea20 100644 (file)
@@ -1088,7 +1088,7 @@ bool SIInstrInfo::areMemAccessesTriviallyDisjoint(MachineInstr *MIa,
 
   // TODO: Should we check the address space from the MachineMemOperand? That
   // would allow us to distinguish objects we know don't alias based on the
-  // underlying addres space, even if it was lowered to a different one,
+  // underlying address space, even if it was lowered to a different one,
   // e.g. private accesses lowered to use MUBUF instructions on a scratch
   // buffer.
   if (isDS(Opc0)) {