From 1a81ad967f292e8cc4ec65ed4cf90e34bcee6e44 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 21 Dec 2015 16:47:10 +0000 Subject: Teach MCOperand::print how to print FPImm operands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256163 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/MC/MCInst.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/MC/MCInst.cpp b/lib/MC/MCInst.cpp index 7ef69be66df..5f829aeb339 100644 --- a/lib/MC/MCInst.cpp +++ b/lib/MC/MCInst.cpp @@ -23,6 +23,8 @@ void MCOperand::print(raw_ostream &OS) const { OS << "Reg:" << getReg(); else if (isImm()) OS << "Imm:" << getImm(); + else if (isFPImm()) + OS << "FPImm:" << getFPImm(); else if (isExpr()) { OS << "Expr:(" << *getExpr() << ")"; } else if (isInst()) { -- cgit v1.2.3