mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[ms-inline asm] Default to the 'm' constraint. This matches the behavior of the
MSVC compiler. llvm-svn: 165174
This commit is contained in:
parent
711da11038
commit
9c4444321b
@ -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