]> granicus.if.org Git - clang/commitdiff
Add a few FIXMEs.
authorChad Rosier <mcrosier@apple.com>
Thu, 13 Sep 2012 00:20:37 +0000 (00:20 +0000)
committerChad Rosier <mcrosier@apple.com>
Thu, 13 Sep 2012 00:20:37 +0000 (00:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163758 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaStmtAsm.cpp

index 3bc53f70f9ea5baf676436bd71e5cbe8d679c8e5..18616ee226a75de718a44419bf6071fb859763e0 100644 (file)
@@ -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);