> Use push / pop for prologues and epilogues.

Cool! 

> +  if (NumBytes) {    // adjust stack pointer back: ESP += numbytes

It looks like this doesn't reset ESP/RSP in the case where a function calls
alloca but has no static-sized allocation, i.e. when NumBytes is zero
and MFI->hasVarSizedObjects() is true.

Dan

-- 
Dan Gohman, Cray Inc.
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to