[llvm-dev] LLVM backend -- Avoid base+index address mode for X86
Jingyue Wu via llvm-dev
llvm-dev at lists.llvm.org
Mon Oct 17 20:24:26 PDT 2016
Maybe modify X86TargetLowering::isLegalAddressingMode to make base+index
illegal?
On Sun, Oct 16, 2016 at 7:51 PM, Hong Hu via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hi All,
>
> I have a question regarding LLVM backend. I appreciate a lot if anyone can
> provide some hints.
>
> My work here is to avoid base+index address mode for X86 target, to allow
> base-register only or index-register only address mode. For example,
> "mov (%rsi), %rbx" is allowed, but "mov (%rsi, %rax), %rbx" is not allowed.
>
> I understand LLVM backend is a complex system. Can any one help point out
> which subsystem I should look into to solve my question?
>
> Regards,
> Hu Hong
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161017/c7aa2dc0/attachment.html>
More information about the llvm-dev
mailing list