mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
[ms-inline asm] Default to the 'm' constraint. This matches the behavior of the
MSVC compiler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165174 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
34448ae393
commit
d494a3bfc5
@ -1728,7 +1728,7 @@ static void emitConvertFuncs(CodeGenTarget &Target, StringRef ClassName,
|
||||
<< " case CVT_Reg:\n"
|
||||
<< " case CVT_Tied:\n"
|
||||
<< " MapAndConstraints.push_back(std::make_pair(NumMCOperands,"
|
||||
<< "\"r\"));\n"
|
||||
<< "\"m\"));\n"
|
||||
<< " ++NumMCOperands;\n"
|
||||
<< " break;\n";
|
||||
|
||||
@ -1826,7 +1826,7 @@ static void emitConvertFuncs(CodeGenTarget &Target, StringRef ClassName,
|
||||
// Add a handler for the operand number lookup.
|
||||
OpOS << " case " << Name << ":\n"
|
||||
<< " MapAndConstraints.push_back(std::make_pair(NumMCOperands"
|
||||
<< ",\"r\"));\n"
|
||||
<< ",\"m\"));\n"
|
||||
<< " NumMCOperands += " << OpInfo.MINumOperands << ";\n"
|
||||
<< " break;\n";
|
||||
break;
|
||||
@ -1896,7 +1896,7 @@ static void emitConvertFuncs(CodeGenTarget &Target, StringRef ClassName,
|
||||
|
||||
OpOS << " case " << Name << ":\n"
|
||||
<< " MapAndConstraints.push_back(std::make_pair(NumMCOperands"
|
||||
<< ",\"r\"));\n"
|
||||
<< ",\"m\"));\n"
|
||||
<< " ++NumMCOperands;\n"
|
||||
<< " break;\n";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user