diff options
author | Chris Lattner <sabre@nondot.org> | 2006-02-21 23:10:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-02-21 23:10:29 +0000 |
commit | aba3b13fb3e00b16725860e46a484c88136569f6 (patch) | |
tree | ba2eecbcb93fe00857d01860b5bae0e7e58ea2af | |
parent | 4e4c71e423f3257873ddec34681f9bdc45a77a77 (diff) |
Pass in a value type to getRegForInlineAsmConstraint, allowing targets to
select different sets of registers depending on the type requested.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26304 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Target/TargetLowering.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index 49b35d3bd3..0e51930442 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -496,7 +496,8 @@ public: /// satisfy the constraint. This should only be used for physregs and /// C_RegisterClass constraints. virtual std::vector<unsigned> - getRegForInlineAsmConstraint(const std::string &Constraint) const; + getRegForInlineAsmConstraint(const std::string &Constraint, + MVT::ValueType VT) const; /// isOperandValidForConstraint - Return true if the specified SDOperand is /// valid for the specified target constraint letter. |