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

Anton Korobeynikov anton at korobeynikov.info
Wed Jul 16 01:57:38 PDT 2008


Hello, Evan

> So we just need to teach it to use MOVAPSrm if stack ptr is going to  
> be realigned. Anton, I am not familiar with the realignment code.  
> But is it now always safe to spill with MOVAPSrm since stack ptr is  
> always realigned?
Yes, it seems safe if stack realignment is not explicitely disabled  
(there is special command line option for this).


> Is it done for all subtargets?
Yes, it's done in target-independent part of prologue / epilogue  
inserter. The only target specific parts are setups of stack alignment  
values itself.

Thanks for nailing down this issue - I'll take care of it soon.

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




More information about the llvm-commits mailing list