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/edis/EDInst.cpp b/llvm/tools/edis/EDInst.cpp
index af3a54a..c009f0f 100644
--- a/llvm/tools/edis/EDInst.cpp
+++ b/llvm/tools/edis/EDInst.cpp
@@ -81,7 +81,9 @@
bool EDInst::isBranch() {
if (ThisInstInfo)
- return ThisInstInfo->instructionType == kInstructionTypeBranch;
+ return
+ ThisInstInfo->instructionType == kInstructionTypeBranch ||
+ ThisInstInfo->instructionType == kInstructionTypeCall;
else
return false;
}