[llvm-commits] [llvm] r163125 - /llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp

Chad Rosier mcrosier at apple.com
Mon Sep 3 13:37:02 PDT 2012


Author: mcrosier
Date: Mon Sep  3 15:37:01 2012
New Revision: 163125

URL: http://llvm.org/viewvc/llvm-project?rev=163125&view=rev
Log:
[ms-inline asm] Make comment more verbose and add an assert.

Modified:
    llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp

Modified: llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp?rev=163125&r1=163124&r2=163125&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp Mon Sep  3 15:37:01 2012
@@ -1721,7 +1721,8 @@
        << "      ++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





More information about the llvm-commits mailing list