[llvm-dev] Operand types of 64-bit LEA instructions (x86-64)

Ondrej Sykora via llvm-dev llvm-dev at lists.llvm.org
Fri Jan 4 10:00:02 PST 2019

Hi all,

I've noticed that operand type of mem operands of 64-bit LEA instructions
on x86-64 (lea64_mem and lea64_32mem in X86InstrInfo.td) is not set. It is
set to 'OPERAND_MEMORY' for mem operands of all other instructions.

Is there a reason for this? It looks like an omission to me and setting it
to 'OPERAND_MEMORY' does not break any tests, but I wanted to double-check
before sending a patch.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190104/9a772d52/attachment-0001.html>

More information about the llvm-dev mailing list