Teach MCOperand::print how to print FPImm operands.

llvm-svn: 256163
This commit is contained in:
Dan Gohman 2015-12-21 16:47:10 +00:00
parent 4034d55158
commit 216e0c2ffe
1 changed files with 2 additions and 0 deletions

View File

@ -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()) {