Clarify meaning of copyRegToReg's return value.
authorEvan Cheng <evan.cheng@apple.com>
Mon, 13 Oct 2008 17:30:56 +0000 (17:30 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 13 Oct 2008 17:30:56 +0000 (17:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57449 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetInstrInfo.h

index fcd0016ca09f99db22a6cd0235ea3cca7b7ed4ff..510da1adfafce60f11c408663248fd7bfd9594a2 100644 (file)
@@ -220,7 +220,9 @@ public:
     return 0;
   }
   
-  /// copyRegToReg - Add a copy between a pair of registers
+  /// copyRegToReg - Emit instructions to copy between a pair of registers. It
+  /// returns false if the target does not how to copy between the specified
+  /// registers.
   virtual bool copyRegToReg(MachineBasicBlock &MBB,
                             MachineBasicBlock::iterator MI,
                             unsigned DestReg, unsigned SrcReg,