[PATCH] D151863: [x86][MC] Fix movdir64b addressing

Akshay Khadse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 31 21:38:48 PDT 2023


akshaykhadse added a comment.

I am working on adding a proper test for this issue, but wanted to get a discussion started as I don't believe this is a proper fix. The reason why `if (getMemBaseReg() == X86::AH)` works is that an operand like`ZMMWORD PTR [RAX]` has `Memory: ModeSize=64,Size=512,BaseReg=ah,Scale=1,Disp=arr` i.e. the base reg is `ah`. Please guide me to indentify such operands when inside the `isMem512_GR64()` function.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151863



More information about the llvm-commits mailing list