mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-01 03:33:42 +00:00
Implement CodeGen/X86/2007-03-24-InlineAsmMultiRegConstraint.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35324 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e4e2e18f47
commit
065421f99f
@ -1852,7 +1852,10 @@ TargetLowering::getConstraintType(const std::string &Constraint) const {
|
||||
return C_Other;
|
||||
}
|
||||
}
|
||||
// TODO: Handle registers.
|
||||
|
||||
if (Constraint.size() > 1 && Constraint[0] == '{' &&
|
||||
Constraint[Constraint.size()-1] == '}')
|
||||
return C_Register;
|
||||
return C_Unknown;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user