[llvm-commits] [llvm] r134087 - /llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp

Eric Christopher echristo at apple.com
Wed Jun 29 12:33:04 PDT 2011


Author: echristo
Date: Wed Jun 29 14:33:04 2011
New Revision: 134087

URL: http://llvm.org/viewvc/llvm-project?rev=134087&view=rev
Log:
Update comment for getRegForInlineAsmConstraint for Mips.

Modified:
    llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp

Modified: llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp?rev=134087&r1=134086&r2=134087&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp Wed Jun 29 14:33:04 2011
@@ -2329,9 +2329,9 @@
   return weight;
 }
 
-/// getRegClassForInlineAsmConstraint - Given a constraint letter (e.g. "r"),
-/// return a list of registers that can be used to satisfy the constraint.
-/// This should only be used for C_RegisterClass constraints.
+/// Given a register class constraint, like 'r', if this corresponds directly
+/// to an LLVM register class, return a register of 0 and the register class
+/// pointer.
 std::pair<unsigned, const TargetRegisterClass*> MipsTargetLowering::
 getRegForInlineAsmConstraint(const std::string &Constraint, EVT VT) const
 {





More information about the llvm-commits mailing list