Update comment for getRegForInlineAsmConstraint for Mips.
authorEric Christopher <echristo@apple.com>
Wed, 29 Jun 2011 19:33:04 +0000 (19:33 +0000)
committerEric Christopher <echristo@apple.com>
Wed, 29 Jun 2011 19:33:04 +0000 (19:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134087 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Mips/MipsISelLowering.cpp

index 8bd7e75431fb3b4bc222d4f8f0c99c9b6bd44303..9e47a3868f8f84043f1bdaa43a8373f2c0c0dfa7 100644 (file)
@@ -2329,9 +2329,9 @@ MipsTargetLowering::getSingleConstraintMatchWeight(
   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
 {