Fix a typo.
authorEvan Cheng <evan.cheng@apple.com>
Tue, 28 Jul 2009 21:49:18 +0000 (21:49 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 28 Jul 2009 21:49:18 +0000 (21:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77369 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineInstr.cpp

index 8deaa1a35d7a712e929abed4520c91f96be92804..4ac2896d370e3b226aed0a5e5451cba6d9854bd4 100644 (file)
@@ -889,7 +889,7 @@ bool MachineInstr::isSafeToMove(const TargetInstrInfo *TII,
   // load.
   if (TID->mayLoad() && !TII->isInvariantLoad(this))
     // Otherwise, this is a real load.  If there is a store between the load and
-    // end of block, or if the laod is volatile, we can't move it.
+    // end of block, or if the load is volatile, we can't move it.
     return !SawStore && !hasVolatileMemoryRef();
 
   return true;