[PATCH] D106072: [AMDGPU][MC] Added missing isCall/isBranch flags

Dmitry Preobrazhensky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 15 09:57:13 PDT 2021


dp added a comment.

Looks like it is not possible to query values of these flags in assembler and I'm not aware of any other tools that would allow this.
The flags are utilized by MCInstrAnalysis.

Comgr uses MCInstrAnalysis functionality to identify calls and branches:

  const MCInstrAnalysis MIA = ...
  if (MIA && MIA->isCall(Inst) ...)

I had to test the patch using Comgr.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106072/new/

https://reviews.llvm.org/D106072



More information about the llvm-commits mailing list