Fold adds and subtracts of zero immediately, instead of waiting
[oota-llvm.git] / lib / CodeGen / MachineInstr.cpp
index 135718acc703eff7fc94e061f7c20c41d2386a35..e008c9a61b95cc0b138f65b4dfa2e50e2fb0e5e3 100644 (file)
@@ -639,9 +639,9 @@ void MachineInstr::copyPredicates(const MachineInstr *MI) {
   }
 }
 
-/// isSafeToMove - Return true if it is safe to this instruction. If SawStore
-/// true, it means there is a store (or call) between the instruction the
-/// localtion and its intended destination.
+/// isSafeToMove - Return true if it is safe to this instruction. If SawStore is
+/// set to true, it means that there is a store (or call) between the
+/// instruction's location and its intended destination.
 bool MachineInstr::isSafeToMove(const TargetInstrInfo *TII, bool &SawStore) {
   // Ignore stuff that we obviously can't move.
   if (TID->mayStore() || TID->isCall()) {