1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

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 d8bcc1cb4d
commit 1e4b5ff3f3

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