Displaying 3 results from an estimated 3 matches for "nosegmentedstack".
Did you mean:
nosegmentedstacks
2012 Jan 29
3
[LLVMdev] nosegmentedstacks function attribute
...idea to add one that stops LLVM from generating segmented stacked
version of a function. While implementing it, I ran into an issue:
Currently, with segmented stacks enabled, LLVM sets the action for
DYNAMIC_STACKALLOC to Custom, and lowers it into native X86 code.
However, if a function has the nosegmentedstack attribute,
DYNAMIC_STACKALLOC will need to be expanded. Is there some idiomatic
way to choose whether a pseudo op is to be lowered or expanded based
on some function attribute?
Thanks!
--
Sanjoy Das
http://playingwithpointers.com
2012 Feb 04
0
[LLVMdev] nosegmentedstacks function attribute
...ll functions called
by it need segmented stacks too?
Ciao, Duncan.
While implementing it, I ran into an issue:
>
> Currently, with segmented stacks enabled, LLVM sets the action for
> DYNAMIC_STACKALLOC to Custom, and lowers it into native X86 code.
> However, if a function has the nosegmentedstack attribute,
> DYNAMIC_STACKALLOC will need to be expanded. Is there some idiomatic
> way to choose whether a pseudo op is to be lowered or expanded based
> on some function attribute?
>
> Thanks!
2012 Feb 04
1
[LLVMdev] nosegmentedstacks function attribute
On Sat, Feb 04, 2012 at 09:57:29AM +0100, Duncan Sands wrote:
> Hi Sanjoy,
>
> > Now that LLVM has support for a larger attribute set, I think it is a
> > good idea to add one that stops LLVM from generating segmented stacked
> > version of a function.
>
> why? If some functions have segmented stacks, don't all functions called
> by it need segmented stacks