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

Jun Koi junkoi2004 at gmail.com
Wed Jun 25 08:16:53 PDT 2014


On Tue, Jun 24, 2014 at 9:32 PM, Tim Northover <t.p.northover at gmail.com>
wrote:

> Hi Jun,
>
> > yes, i think this is a good idea. but then how can i modify LEA16r above
> to
> > eliminate "dword ptr" part?
>
> I can't see an existing X86MemOperand with this property, so you'll
> probably have to create a new one near the top of X86InstrInfo.td
> (~line 332) and then use that. The PrintMethod should be reasonably
> easy to implement.
>

Oh right, now I can see where to modify.

Is a patch for this part welcome?


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


More information about the llvm-dev mailing list