Displaying 3 results from an estimated 3 matches for "6e2f352c".
Did you mean:
6be2f352
2016 Oct 26
3
RFC: Absolute or "fixed address" symbols as immediate operands
...ould make is to push the !range metadata into the
GlobalConstant object. The range information is what really unlocks the
interesting ISel optimizations.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161026/6e2f352c/attachment.html>
2016 Oct 26
0
RFC: Absolute or "fixed address" symbols as immediate operands
On Tue, Oct 25, 2016 at 2:55 PM, Rafael EspĂndola <
rafael.espindola at gmail.com> wrote:
> > You get the code you want with
> >
> > @foo = external hidden global i8
> >
> > or
> >
> > @foo = external protected global i8
>
> Sorry, not quiet. What you get is
>
> leaq foo(%rip), %rax
>
> Since it is still assuming foo is a
2016 Oct 25
4
RFC: Absolute or "fixed address" symbols as immediate operands
> You get the code you want with
>
> @foo = external hidden global i8
>
> or
>
> @foo = external protected global i8
Sorry, not quiet. What you get is
leaq foo(%rip), %rax
Since it is still assuming foo is a position in the file.
So yes, we need a way to declare an absolute value. If we can declare
it, we may as well use the same construct to define it.
I guess the