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
This commit is contained in:
Sean Callanan
2010-05-11 01:27:08 +00:00
parent 0ce537a9db
commit 972bf8dea1
2 changed files with 8 additions and 1 deletions

View File

@ -314,6 +314,11 @@ int Disassembler::disassembleEnhanced(const std::string &TS,
}
outs() << " ";
if (EDInstIsBranch(inst))
outs() << "<br> ";
if (EDInstIsMove(inst))
outs() << "<mov> ";
int numOperands = EDNumOperands(inst);