mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 18:06:49 +00:00
Not meant to be checked in.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31334 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e2ba897588
commit
0db427bb2d
@ -3552,14 +3552,11 @@ void DAGISelEmitter::EmitInstructionSelector(std::ostream &OS) {
|
|||||||
// Emit boilerplate.
|
// Emit boilerplate.
|
||||||
OS << "SDNode *Select_INLINEASM(SDOperand N) {\n"
|
OS << "SDNode *Select_INLINEASM(SDOperand N) {\n"
|
||||||
<< " std::vector<SDOperand> Ops(N.Val->op_begin(), N.Val->op_end());\n"
|
<< " std::vector<SDOperand> Ops(N.Val->op_begin(), N.Val->op_end());\n"
|
||||||
<< " AddToISelQueue(N.getOperand(0)); // Select the chain.\n"
|
<< " AddToISelQueue(N.getOperand(0)); // Select the chain.\n\n"
|
||||||
<< " // Select the flag operand.\n"
|
<< " // Select the flag operand.\n"
|
||||||
<< " if (Ops.back().getValueType() == MVT::Flag)\n"
|
<< " if (Ops.back().getValueType() == MVT::Flag)\n"
|
||||||
<< " AddToISelQueue(Ops.back());\n"
|
<< " AddToISelQueue(Ops.back());\n"
|
||||||
<< " SelectInlineAsmMemoryOperands(Ops, *CurDAG);\n"
|
<< " SelectInlineAsmMemoryOperands(Ops, *CurDAG);\n"
|
||||||
<< " for (unsigned i = 2, e = Ops.size(); i < e; ++i)\n"
|
|
||||||
<< " if (Ops[i].getOpcode() != ISD::Constant)\n"
|
|
||||||
<< " AddToISelQueue(Ops[i]);\n"
|
|
||||||
<< " std::vector<MVT::ValueType> VTs;\n"
|
<< " std::vector<MVT::ValueType> VTs;\n"
|
||||||
<< " VTs.push_back(MVT::Other);\n"
|
<< " VTs.push_back(MVT::Other);\n"
|
||||||
<< " VTs.push_back(MVT::Flag);\n"
|
<< " VTs.push_back(MVT::Flag);\n"
|
||||||
@ -3585,7 +3582,6 @@ void DAGISelEmitter::EmitInstructionSelector(std::ostream &OS) {
|
|||||||
<< " case ISD::TargetConstantPool:\n"
|
<< " case ISD::TargetConstantPool:\n"
|
||||||
<< " case ISD::TargetFrameIndex:\n"
|
<< " case ISD::TargetFrameIndex:\n"
|
||||||
<< " case ISD::TargetJumpTable:\n"
|
<< " case ISD::TargetJumpTable:\n"
|
||||||
<< " case ISD::TargetExternalSymbol:\n"
|
|
||||||
<< " case ISD::TargetGlobalAddress: {\n"
|
<< " case ISD::TargetGlobalAddress: {\n"
|
||||||
<< " return NULL;\n"
|
<< " return NULL;\n"
|
||||||
<< " }\n"
|
<< " }\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user