mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 01:43:57 +00:00
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
8ab6294f94
commit
ed3b59056a
@ -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…
x
Reference in New Issue
Block a user