[PATCH] D158280: [jitlink/rtdydl][checker] Construct disassembler at every decodeInst

Eymen Ünay via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 24 11:57:09 PDT 2023


Eymay added inline comments.


================
Comment at: llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp:815
+
+  std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName));
+  if (!MRI)
----------------
Maybe getDisassembler and getInstrPrinter could share code for MRI and MAI? 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158280



More information about the llvm-commits mailing list