Displaying 3 results from an estimated 3 matches for "norenam".
Did you mean:
norename
2016 Apr 06
2
LTO renaming of constants with inline assembly
...:
>
> @myvar.6 = global i8 [...]
>
> [...]
>
> call asm("movzbl myvar(%rip), ...", ..., "myvar")(..., i8* @myvar.6)
>
> The backend would produce assembly that would look like this:
>
> .rename myvar, myvar.6
> movzbl myvar(%%rip), ...
> .norename myvar
>
> The .rename and .norename directives would delimit the scope of the
> renaming.
>
That's an interesting idea, thanks. Are .rename and .norename standard
directives? I did some web searches but couldn't find anything concrete on
them (I did find a .rename in some IBM...
2016 Apr 13
2
LTO renaming of constants with inline assembly
...o myvar.6, the IR would look like this:
@myvar.6 = global i8 [...]
[...]
call asm("movzbl myvar(%rip), ...", ..., "myvar")(..., i8* @myvar.6)
The backend would produce assembly that would look like this:
.rename myvar, myvar.6
movzbl myvar(%%rip), ...
.norename myvar
The .rename and .norename directives would delimit the scope of the renaming.
That's an interesting idea, thanks. Are .rename and .norename standard directives? I did some web searches but couldn't find anything concrete on them (I did find a .rename in some IBM Power documen...
2016 Apr 06
2
LTO renaming of constants with inline assembly
On Wed, Apr 6, 2016 at 10:46 AM, Peter Collingbourne <peter at pcc.me.uk>
wrote:
> I suspect that the right way to do promotion/renaming of this sort is to
> rename at the MC layer just before writing the symbol table to the object
> file.
>
I think that is too late - how would the symbols be distinguished in the
LTO case below after the IR is linked but before we renamed the