[LLVMdev] Bug in LEA16r (X86InstrArithmetic.td) ??

Jun Koi junkoi2004 at gmail.com
Tue Jun 24 00:08:24 PDT 2014


Hi,

in X86InstrArithmetic.td, we have LEA16r defined as:


def LEA16r   : I<0x8D, MRMSrcMem,
                 (outs GR16:$dst), (ins i32mem:$src),
                 "lea{w}\t{$src|$dst}, {$dst|$src}", [], IIC_LEA_16>,
OpSize16;


Please correct me if I am wrong, but I think "ins i32mem" should be "ins
i16mem" because this is about 16bit register?

So is this a bug?


Thanks,
Jun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140624/4126f408/attachment.html>


More information about the llvm-dev mailing list