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