projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e1a49a
)
Teach MCOperand::print how to print FPImm operands.
author
Dan Gohman
<dan433584@gmail.com>
Mon, 21 Dec 2015 16:47:10 +0000
(16:47 +0000)
committer
Dan Gohman
<dan433584@gmail.com>
Mon, 21 Dec 2015 16:47:10 +0000
(16:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256163
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/MC/MCInst.cpp
patch
|
blob
|
history
diff --git
a/lib/MC/MCInst.cpp
b/lib/MC/MCInst.cpp
index 7ef69be66df64e07dd2f6ad20174b0ffd62d23fe..5f829aeb339c13a5d5dfb530f2e79026c7c0ff55 100644
(file)
--- 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()) {