forked from OSchip/llvm-project
Teach MCOperand::print how to print FPImm operands.
llvm-svn: 256163
This commit is contained in:
parent
4034d55158
commit
216e0c2ffe
|
@ -23,6 +23,8 @@ void MCOperand::print(raw_ostream &OS) const {
|
||||||
OS << "Reg:" << getReg();
|
OS << "Reg:" << getReg();
|
||||||
else if (isImm())
|
else if (isImm())
|
||||||
OS << "Imm:" << getImm();
|
OS << "Imm:" << getImm();
|
||||||
|
else if (isFPImm())
|
||||||
|
OS << "FPImm:" << getFPImm();
|
||||||
else if (isExpr()) {
|
else if (isExpr()) {
|
||||||
OS << "Expr:(" << *getExpr() << ")";
|
OS << "Expr:(" << *getExpr() << ")";
|
||||||
} else if (isInst()) {
|
} else if (isInst()) {
|
||||||
|
|
Loading…
Reference in New Issue