Displaying 2 results from an estimated 2 matches for "aarch64constantislandspass".
2013 Jun 24
2
[LLVMdev] Contants generation
Hi,
I'd like to generate constants inside .text in order to use ip-relative loads, when the code model is "large".
How can I do this?
(I'm on X86_64 linux)
Thank you.
- Elena
---------------------------------------------------------------------
Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for
the sole use of the
2013 Jun 25
0
[LLVMdev] Contants generation
...2GB in
size has bigger problems than where its constants are.
Actually, originally the AArch64 backend did the same thing but I
switched to the x86 model back in February. Which means thar r175258
is a nice potted (but reversed) description of all the steps needed.
Ignore the more baroque parts of AArch64ConstantIslandsPass.cpp, yours
will probably only have to add a bunch of CONSTPOOL_ENTRYs at the end
of the function (the doInitialPlacement method, though even that does
more than you need).
I'll watch with interest to see how you handle it, AArch64 will
probably have the same issues in the large code model.
Ch...