Extended the edis "IsBranch" property to call
instructions as well. Added support for checking
this to the llvm-mc tester as well.
llvm-svn: 103454
diff --git a/llvm/tools/llvm-mc/Disassembler.cpp b/llvm/tools/llvm-mc/Disassembler.cpp
index e2120c2..37b2cb8 100644
--- a/llvm/tools/llvm-mc/Disassembler.cpp
+++ b/llvm/tools/llvm-mc/Disassembler.cpp
@@ -314,6 +314,11 @@
}
outs() << " ";
+
+ if (EDInstIsBranch(inst))
+ outs() << "<br> ";
+ if (EDInstIsMove(inst))
+ outs() << "<mov> ";
int numOperands = EDNumOperands(inst);