[ms-inline asm] Make comment more verbose and add an assert.
authorChad Rosier <mcrosier@apple.com>
Mon, 3 Sep 2012 20:37:01 +0000 (20:37 +0000)
committerChad Rosier <mcrosier@apple.com>
Mon, 3 Sep 2012 20:37:01 +0000 (20:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163125 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/AsmMatcherEmitter.cpp

index a4744bad7ead8cfd34a1f4582e6ec341d7455b3a..3c107a22e077e68d5beb1d9f6fc3d8941953d905 100644 (file)
@@ -1721,7 +1721,8 @@ static void emitConvertToMCInst(CodeGenTarget &Target, StringRef ClassName,
        << "      ++MCOperandNum;\n"
        << "      break;\n"
        << "    case CVT_Tied:\n"
-       << "      //Inst.getOperand(*(p + 1)));\n"
+       << "      // FIXME: Tied operand calculation not supported.\n"
+       << "      assert (0 && \"GetMCInstOperandNumImpl() doesn't support tied operands, yet!\");\n"
        << "      break;\n";
 
   // Pre-populate the operand conversion kinds with the standard always