[llvm] [X86][MC] Support encoding of EGPR for APX (PR #71909)
Shengchen Kan via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 12 21:01:51 PST 2023
================
@@ -548,7 +609,7 @@ void X86MCCodeEmitter::emitMemModRMByte(
// movq loads is a subset of reloc_riprel_4byte_relax_rex. It is a
// special case because COFF and Mach-O don't support ELF's more
// flexible R_X86_64_REX_GOTPCRELX relaxation.
- assert(Kind == REX);
+ assert(Kind == REX || Kind == REX2);
----------------
KanRobert wrote:
Done
https://github.com/llvm/llvm-project/pull/71909
More information about the llvm-commits
mailing list