================
@@ -666,6 +666,7 @@ void X86MCCodeEmitter::emitMemModRMByte(
       case X86::SBB64rm:
       case X86::SUB64rm:
       case X86::XOR64rm:
+      case X86::LEA64r:
----------------
KanRobert wrote:
We don't need `LEA64r` before REX2? 
https://github.com/llvm/llvm-project/pull/116908