[PATCH] D126116: [X86][BOLT][NFC] Use getOperandType to determine memory access size

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 2 13:27:13 PDT 2022


Amir added inline comments.


================
Comment at: bolt/lib/Target/X86/X86MCPlusBuilder.cpp:1035
 
+  static uint8_t getMemDataSize(const MCInst &Inst, int MemOpNo) {
+    using namespace X86::OpTypes;
----------------
`getMemDataSize` may be moved to Target/X86 files, but I'm not sure of any uses for it there.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126116



More information about the llvm-commits mailing list