[PATCH] D65948: [MCA] Add flag -show-encoding to llvm-mca.

Andrea Di Biagio via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 8 09:20:25 PDT 2019


andreadb updated this revision to Diff 214171.
andreadb added a comment.

Address review comments.

Added documentation for the new flag.

Changed how the CodeEmitter works.
Class CodeEmitter now uses instruction identifiers to reference MCInsts of a sequence.
It no longer uses a map. It uses a vector instead, and the instruction index is used to address that vector.


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

https://reviews.llvm.org/D65948

Files:
  docs/CommandGuide/llvm-mca.rst
  include/llvm/MCA/CodeEmitter.h
  lib/MCA/CMakeLists.txt
  lib/MCA/CodeEmitter.cpp
  test/tools/llvm-mca/X86/show-encoding.s
  tools/llvm-mca/Views/InstructionInfoView.cpp
  tools/llvm-mca/Views/InstructionInfoView.h
  tools/llvm-mca/llvm-mca.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65948.214171.patch
Type: text/x-patch
Size: 19018 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190808/bf3394be/attachment.bin>


More information about the llvm-commits mailing list