[llvm] [X86][MC] Support R_X86_64_CODE_4_GOTPC32_TLSDESC (PR #116908)

Shengchen Kan via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 20 05:04:42 PST 2024


================
@@ -666,6 +666,7 @@ void X86MCCodeEmitter::emitMemModRMByte(
       case X86::SBB64rm:
       case X86::SUB64rm:
       case X86::XOR64rm:
+      case X86::LEA64r:
----------------
KanRobert wrote:

My question is: Why we don't need to check LEA64r when REX prefix was added? Is LEA64r special to REX2?

https://github.com/llvm/llvm-project/pull/116908


More information about the llvm-commits mailing list