[llvm-commits] [PATCH] Add support for ARMFastISel to emit ELF PIC
Chad Rosier
mcrosier at apple.com
Wed Sep 26 09:34:44 PDT 2012
LGTM.
On Sep 26, 2012, at 4:59 AM, Jush Lu <jush.msn at gmail.com> wrote:
> Ping.
>
> The same patch is attached.
>
> On Tue, Sep 18, 2012 at 7:18 PM, Jush Lu <jush.msn at gmail.com> wrote:
> Ping.
>
> The attachment is the same patch.
>
>
> On Tue, Sep 4, 2012 at 7:14 PM, Jush Lu <jush.msn at gmail.com> wrote:
> Hi,
>
> This patch adds support for ELF PIC. I know that ARMFastISel hasn’t been used for ELF object files, but I think this patch will be helpful to ELF support.
>
> This patch uses the same way which X86FastISel uses for ELF PIC codegen, you can find the similar code in the “CGBR” pass which is in lib/Target/X86/X86InstrInfo.cpp .
>
> The “ARMCGBR” pass in my patch lowers the value of a ELF specific symbol “_GLOBAL_OFFSET_TABLE_” into a global base register , and this global base register is used by ARMFastISel for ELF PIC codegen.
>
> Please review it ,thanks.
>
> Jush
>
>
> <fast-isel-elf-pic.patch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120926/57b33a68/attachment.html>
More information about the llvm-commits
mailing list