summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-06-29 19:33:04 +0000
committerEric Christopher <echristo@apple.com>2011-06-29 19:33:04 +0000
commiteaf77dc2bdfa0f0ca405d635b4a55bf909cb91e9 (patch)
tree0cf099b8f9519acdc5ca28c0ae28d923dcbcbecd
parentdabd8a7bef5f4d9631abd475d17a98803199769b (diff)
downloadbcm5719-llvm-eaf77dc2bdfa0f0ca405d635b4a55bf909cb91e9.tar.gz
bcm5719-llvm-eaf77dc2bdfa0f0ca405d635b4a55bf909cb91e9.zip
Update comment for getRegForInlineAsmConstraint for Mips.
llvm-svn: 134087
-rw-r--r--llvm/lib/Target/Mips/MipsISelLowering.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/Mips/MipsISelLowering.cpp b/llvm/lib/Target/Mips/MipsISelLowering.cpp
index 8bd7e75431f..9e47a3868f8 100644
--- a/llvm/lib/Target/Mips/MipsISelLowering.cpp
+++ b/llvm/lib/Target/Mips/MipsISelLowering.cpp
@@ -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
{
OpenPOWER on IntegriCloud