[llvm-commits] [LLVMdev] Spilled variables using unaligned moves

Anton Korobeynikov anton at korobeynikov.info
Mon Jul 14 11:46:35 PDT 2008


Hello, Evan

> This is on Windows / Cygwin? I think the dynamic stack pointer re- 
> alignment doesn't happen until post- register allocation.
Actually it's split into two parts. One is just small hook at pre-RA  
level, which determines, whether stack realignment is really needed,  
and if yes - "reserves" it during RA.

The biggest part runs indeed at post-RA phase, but it just realigns  
stack and translates 'virtual offsets' into real ones. For aligned  
variables virtual offsets should be already aligned at this stage.

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




More information about the llvm-commits mailing list