[llvm-commits] [llvm] r103802 - in /llvm/trunk: include/llvm/CodeGen/ lib/CodeGen/ lib/CodeGen/AsmPrinter/ lib/CodeGen/SelectionDAG/ lib/Target/ lib/Target/ARM/ lib/Target/Blackfin/ lib/Target/CellSPU/ lib/Target/MBlaze/ lib/Target/MBlaze/AsmPrin

Anton Korobeynikov anton at korobeynikov.info
Fri May 14 14:26:45 PDT 2010


> N.B., several back-ends are using "HasCalls" as being synonymous for something
> that adjusts the stack. This isn't 100% correct and should be looked into.
I'm not quite sure for other backends, but systemz backend was correct.
The semantics was precisely "has calls", the stack frame is always
created for non-leaf functions in order to provide register save area
for callees.

x86 (win64) semantics is definitely the same - please switch to
hasCalls() there as well, we need to create register save area
regardless whether there are local stack variables or not.

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



More information about the llvm-commits mailing list