summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-09-03 20:37:01 +0000
committerChad Rosier <mcrosier@apple.com>2012-09-03 20:37:01 +0000
commit591a26898f6ba89c930e3a43065d3840b9b2740a (patch)
tree7f1be7958fa650b10eb46e814beb1c5f2601288f /llvm/utils
parent9e2aff8b6da1feac3c4b4bee2b933cd860b847c0 (diff)
downloadbcm5719-llvm-591a26898f6ba89c930e3a43065d3840b9b2740a.tar.gz
bcm5719-llvm-591a26898f6ba89c930e3a43065d3840b9b2740a.zip
[ms-inline asm] Make comment more verbose and add an assert.
llvm-svn: 163125
Diffstat (limited to 'llvm/utils')
-rw-r--r--llvm/utils/TableGen/AsmMatcherEmitter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/AsmMatcherEmitter.cpp b/llvm/utils/TableGen/AsmMatcherEmitter.cpp
index a4744bad7ea..3c107a22e07 100644
--- a/llvm/utils/TableGen/AsmMatcherEmitter.cpp
+++ b/llvm/utils/TableGen/AsmMatcherEmitter.cpp
@@ -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
OpenPOWER on IntegriCloud