[PATCH] D12824: [x86][WIP] CSR alignment, dead code?
Akira Hatanaka via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 15 23:28:47 PDT 2015
ahatanak added a comment.
I don't know why. It looks like it isn't really needed when the stack can't be realigned but it's updating MaxAlignment anyway.
Regarding your other question, my understanding is that when frame pointer elimination is enabled, the stack can't be realigned to spill registers because the frame pointer register is not available. If you look at X86RegisterInfo::canRealignStack, it returns true only when the frame pointer register is reserved. That doesn't happen when frame pointer elimination is enabled.
http://reviews.llvm.org/D12824
More information about the llvm-commits
mailing list