summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/lib/Sema/SemaStmtAsm.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Sema/SemaStmtAsm.cpp b/clang/lib/Sema/SemaStmtAsm.cpp
index 1a7d917c159..2d20d6afcc5 100644
--- a/clang/lib/Sema/SemaStmtAsm.cpp
+++ b/clang/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.
OpenPOWER on IntegriCloud