[PATCH] D149523: [llvm-jitlink] Pass object features when creating MCSubtargetInfo

Job Noorman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 29 12:08:27 PDT 2023


jobnoorman created this revision.
jobnoorman added a reviewer: lhames.
Herald added subscribers: asb, pmatos, luismarques, s.egerton, PkmX, simoncook, arichardson.
Herald added a project: All.
jobnoorman requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The reason for this patch is to allow the MCDisassembler used in tests
to disassemble instructions that are only available when a specific
feature is enabled.

For example, on RISC-V it's currently not possible to use
decode_operand() on a compressed instruction. This patch fixes this.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149523

Files:
  llvm/tools/llvm-jitlink/llvm-jitlink.cpp
  llvm/tools/llvm-jitlink/llvm-jitlink.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149523.518220.patch
Type: text/x-patch
Size: 4392 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230429/5c765d4f/attachment.bin>


More information about the llvm-commits mailing list