[llvm-commits] Issue with Win64 local area stack offset

Anton Korobeynikov anton at korobeynikov.info
Mon Jun 21 15:56:17 PDT 2010


Hello, Jan

> I hope this is clear because it is easy to get confused and it would be
> nice if someone can confirm this issue. Below is a simple patch that fixes the
> problem by not allocating the spill area and sets the LAO to 8. The shadow
> area is already handled by the function call lowering code.
I might be wrong, but it doesn't seem so. Call lowering code only puts
the arguments assuming
that there is a shadow space already allocated, but nothing inside
prologue allocates it
(this was what "StackSize +=32" used for).

Please verify your observations on:
1. Function in case of eliminated FP
2. Function with just 2 arguments

Thanks!
-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-commits mailing list