Displaying 2 results from an estimated 2 matches for "localareaoffset".
2012 Apr 16
2
[LLVMdev] Question about PTXFrameLowering
Hi all,
I'm learning the PTX backend and confused by the following problem. In the
constructor of PTXFrameLowering, StackAlignment and LocalAreaOffset are
assigned 2 and -2, respectively. Since PTX has neither stack frame nor
stack pointer, why StackAlignment and LocalAreaOffset are needed and where
does 2 and -2 come from? Any explanation is appreciated. Thank you in
advance!
Yours Sincerely,
Lei Mou
-------------- next part --------------
An H...
2012 Apr 16
0
[LLVMdev] Question about PTXFrameLowering
On Mon, Apr 16, 2012 at 3:48 AM, Lei Mou <lei.mou.uu at gmail.com> wrote:
> Hi all,
>
> I'm learning the PTX backend and confused by the following problem. In the
> constructor of PTXFrameLowering, StackAlignment and LocalAreaOffset are
> assigned 2 and -2, respectively. Since PTX has neither stack frame nor
> stack pointer, why StackAlignment and LocalAreaOffset are needed and where
> does 2 and -2 come from? Any explanation is appreciated. Thank you in
> advance!
>
There's really no good reason for that....