[llvm-commits] [llvm] r57449 - /llvm/trunk/include/llvm/Target/TargetInstrInfo.h

Evan Cheng evan.cheng at apple.com
Mon Oct 13 10:30:56 PDT 2008


Author: evancheng
Date: Mon Oct 13 12:30:56 2008
New Revision: 57449

URL: http://llvm.org/viewvc/llvm-project?rev=57449&view=rev
Log:
Clarify meaning of copyRegToReg's return value.

Modified:
    llvm/trunk/include/llvm/Target/TargetInstrInfo.h

Modified: llvm/trunk/include/llvm/Target/TargetInstrInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetInstrInfo.h?rev=57449&r1=57448&r2=57449&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Target/TargetInstrInfo.h (original)
+++ llvm/trunk/include/llvm/Target/TargetInstrInfo.h Mon Oct 13 12:30:56 2008
@@ -220,7 +220,9 @@
     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,





More information about the llvm-commits mailing list