OSDN Git Service

Fix typo.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 7 Apr 2010 23:51:38 +0000 (23:51 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 7 Apr 2010 23:51:38 +0000 (23:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100726 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetInstrInfo.h

index 4b26beb..959f552 100644 (file)
@@ -182,7 +182,7 @@ public:
   /// store to a stack slot, return true along with the FrameIndex of
   /// the loaded stack slot and the machine mem operand containing the
   /// reference.  If not, return false.  Unlike isStoreToStackSlot,
-  /// this returns true for any instructions that loads from the
+  /// this returns true for any instructions that stores to the
   /// stack.  This is just a hint, as some cases may be missed.
   virtual bool hasStoreToStackSlot(const MachineInstr *MI,
                                    const MachineMemOperand *&MMO,