forked from OSchip/llvm-project
Pass in a value type to getRegForInlineAsmConstraint, allowing targets to
select different sets of registers depending on the type requested. llvm-svn: 26304
This commit is contained in:
parent
d58478161f
commit
ebb7489537
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue