Handle basic block nodes
authorChris Lattner <sabre@nondot.org>
Sun, 18 Dec 2005 21:05:44 +0000 (21:05 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 18 Dec 2005 21:05:44 +0000 (21:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24833 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/DAGISelEmitter.cpp

index 9b4c4a65cf034fa933a2b6135e5a7a8b907ffd9c..c8ec8c406926d832f7d7169a3293879447a811f8 100644 (file)
@@ -2329,6 +2329,7 @@ void DAGISelEmitter::EmitInstructionSelector(std::ostream &OS) {
      << "  switch (N.getOpcode()) {\n"
      << "  default: break;\n"
      << "  case ISD::EntryToken:       // These leaves remain the same.\n"
+     << "  case ISD::BasicBlock:\n"
      << "    return N;\n"
      << "  case ISD::AssertSext:\n"
      << "  case ISD::AssertZext: {\n"