mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-09 13:33:17 +00:00
Duraid pointed out that it is impolite to emit PPC:: into the IA64 backend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23780 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9d2b817fcb
commit
b277cbc087
@ -1762,11 +1762,15 @@ namespace {
|
||||
}
|
||||
|
||||
void DAGISelEmitter::EmitInstructionSelector(std::ostream &OS) {
|
||||
std::string InstNS = Target.inst_begin()->second.Namespace;
|
||||
if (!InstNS.empty()) InstNS += "::";
|
||||
|
||||
// Emit boilerplate.
|
||||
OS << "// The main instruction selector code.\n"
|
||||
<< "SDOperand SelectCode(SDOperand N) {\n"
|
||||
<< " if (N.getOpcode() >= ISD::BUILTIN_OP_END &&\n"
|
||||
<< " N.getOpcode() < PPCISD::FIRST_NUMBER)\n"
|
||||
<< " N.getOpcode() < (ISD::BUILTIN_OP_END+" << InstNS
|
||||
<< "INSTRUCTION_LIST_END))\n"
|
||||
<< " return N; // Already selected.\n\n"
|
||||
<< " if (!N.Val->hasOneUse()) {\n"
|
||||
<< " std::map<SDOperand, SDOperand>::iterator CGMI = CodeGenMap.find(N);\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user