diff options
author | Eric Christopher <echristo@apple.com> | 2011-06-29 19:33:04 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-06-29 19:33:04 +0000 |
commit | 38d642652320ae84bfd948ab1bfc2fd4b8399bba (patch) | |
tree | d8e25d35355f5564a876a5d33dee659728c2d00e /lib | |
parent | 1c24ba9fad4e668ad854f1ff544e60c347c6d341 (diff) | |
download | external_llvm-38d642652320ae84bfd948ab1bfc2fd4b8399bba.zip external_llvm-38d642652320ae84bfd948ab1bfc2fd4b8399bba.tar.gz external_llvm-38d642652320ae84bfd948ab1bfc2fd4b8399bba.tar.bz2 |
Update comment for getRegForInlineAsmConstraint for Mips.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134087 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/Mips/MipsISelLowering.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/Mips/MipsISelLowering.cpp b/lib/Target/Mips/MipsISelLowering.cpp index 8bd7e75..9e47a38 100644 --- a/lib/Target/Mips/MipsISelLowering.cpp +++ b/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 { |