[PATCH] D89892: [AsmPrinter] Add per BB instruction mix remark.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 23 06:40:04 PDT 2020


fhahn added a comment.

In D89892#2345866 <https://reviews.llvm.org/D89892#2345866>, @paquette wrote:

> For the mnemonics, it looks like the logic to get at them is currently table-generated into build/lib/Target/MyTarget/MyTargetGenAsmWriter.inc.
>
> I suppose you could factor out the logic for mnemonic printing in utils/TableGen/AsmWriterEmitter.cpp into something that can also be used here? Not sure if there is any better way than that...

I tried to do that as follow up in D90039 <https://reviews.llvm.org/D90039> & D90040 <https://reviews.llvm.org/D90040>. Seems to work reasonably well, although it seems like it misses the conditional codes for branches.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89892



More information about the llvm-commits mailing list