[llvm-commits] [PATCH] Add support for ARMFastISel to emit ELF PIC

Jush Lu jush.msn at gmail.com
Tue Sep 18 04:18:49 PDT 2012


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*
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120918/bcafe2b8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fast-isel-elf-pic.patch
Type: application/octet-stream
Size: 11082 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120918/bcafe2b8/attachment.obj>


More information about the llvm-commits mailing list