summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-09-13 00:20:37 +0000
committerChad Rosier <mcrosier@apple.com>2012-09-13 00:20:37 +0000
commit3ef95a55769278858ad586bd2b592fd50288a1ac (patch)
tree865d5f70670b1625188effd538c7fdc6b3f11e4f
parentb55e602e1dc7952edc7545fab7bb7b15047378f3 (diff)
Add a few FIXMEs.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163758 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Sema/SemaStmtAsm.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Sema/SemaStmtAsm.cpp b/lib/Sema/SemaStmtAsm.cpp
index 3bc53f70f9..18616ee226 100644
--- a/lib/Sema/SemaStmtAsm.cpp
+++ b/lib/Sema/SemaStmtAsm.cpp
@@ -568,6 +568,8 @@ StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc, SourceLocation LBraceLoc,
if (Operands[i]->isToken() || Operands[i]->isImm())
continue;
+ // FIXME: The getMCInstOperandNum() function does not work with tied
+ // operands or custom converters.
unsigned NumMCOperands;
unsigned MCIdx = TargetParser->getMCInstOperandNum(Kind, Inst, Operands,
i, NumMCOperands);
@@ -614,6 +616,7 @@ StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc, SourceLocation LBraceLoc,
ExprResult Result = ActOnIdExpression(getCurScope(), SS, Loc, Id,
false, false);
if (!Result.isInvalid()) {
+ // FIXME: Determine the proper constraints.
bool isMemDef = (i == 1) && Desc.mayStore();
if (isMemDef) {
Outputs.push_back(II);