From: Chad Rosier Date: Tue, 11 Sep 2012 23:48:00 +0000 (+0000) Subject: [ms-inline asm] As of r163657 this check is unnecessary. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8742d7c84a45988b9d6e1f6ad38b2242b800c2bd;p=clang [ms-inline asm] As of r163657 this check is unnecessary. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163665 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaStmtAsm.cpp b/lib/Sema/SemaStmtAsm.cpp index 1a7d917c15..2d20d6afcc 100644 --- a/lib/Sema/SemaStmtAsm.cpp +++ b/lib/Sema/SemaStmtAsm.cpp @@ -595,11 +595,6 @@ StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc, } const llvm::MCOperand &Op = Inst.getOperand(MCIdx); - - // Immediate. - if (Op.isImm() || Op.isFPImm()) - continue; - bool isDef = NumDefs && (MCIdx < NumDefs); // Register/Clobber.