R600: Fix calculation of stack offset in AMDGPUFrameLowering
We weren't computing structure size correctly and we were relying on
the original alloca instruction to compute the offset, which isn't
always reliable.
Reviewed-by:
Vincent Lejeune <vljn@ovi.com>
llvm-svn: 183568
Loading
Please register or sign in to comment