[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

Evan Cheng evan.cheng at apple.com
Tue Oct 31 16:28:13 PST 2006



Changes in directory llvm/utils/TableGen:

DAGISelEmitter.cpp updated: 1.273 -> 1.274
---
Log message:

Not meant to be checked in.

---
Diffs of the changes:  (+1 -5)

 DAGISelEmitter.cpp |    6 +-----
 1 files changed, 1 insertion(+), 5 deletions(-)


Index: llvm/utils/TableGen/DAGISelEmitter.cpp
diff -u llvm/utils/TableGen/DAGISelEmitter.cpp:1.273 llvm/utils/TableGen/DAGISelEmitter.cpp:1.274
--- llvm/utils/TableGen/DAGISelEmitter.cpp:1.273	Tue Oct 31 18:27:05 2006
+++ llvm/utils/TableGen/DAGISelEmitter.cpp	Tue Oct 31 18:27:59 2006
@@ -3552,14 +3552,11 @@
   // Emit boilerplate.
   OS << "SDNode *Select_INLINEASM(SDOperand N) {\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"
      << "  if (Ops.back().getValueType() == MVT::Flag)\n"
      << "    AddToISelQueue(Ops.back());\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"
      << "  VTs.push_back(MVT::Other);\n"
      << "  VTs.push_back(MVT::Flag);\n"
@@ -3585,7 +3582,6 @@
      << "  case ISD::TargetConstantPool:\n"
      << "  case ISD::TargetFrameIndex:\n"
      << "  case ISD::TargetJumpTable:\n"
-     << "  case ISD::TargetExternalSymbol:\n"
      << "  case ISD::TargetGlobalAddress: {\n"
      << "    return NULL;\n"
      << "  }\n"






More information about the llvm-commits mailing list