Changes in directory llvm/include/llvm/Target:
TargetLowering.h updated: 1.83 -> 1.84 --- Log message: generalize this api --- Diffs of the changes: (+8 -2) TargetLowering.h | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) Index: llvm/include/llvm/Target/TargetLowering.h diff -u llvm/include/llvm/Target/TargetLowering.h:1.83 llvm/include/llvm/Target/TargetLowering.h:1.84 --- llvm/include/llvm/Target/TargetLowering.h:1.83 Tue Oct 31 13:40:43 2006 +++ llvm/include/llvm/Target/TargetLowering.h Wed Nov 1 19:39:10 2006 @@ -687,8 +687,14 @@ /// getRegForInlineAsmConstraint - Given a physical register constraint (e.g. /// {edx}), return the register number and the register class for the - /// register. This should only be used for C_Register constraints. On error, - /// this returns a register number of 0. + /// register. + /// + /// 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. + /// + /// This should only be used for C_Register constraints. On error, + /// this returns a register number of 0 and a null register class pointer.. virtual std::pair<unsigned, const TargetRegisterClass*> getRegForInlineAsmConstraint(const std::string &Constraint, MVT::ValueType VT) const; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits