aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MaxStackAlignment.cpp
AgeCommit message (Collapse)Author
2010-01-19For aligned load/store instructions, it's only required to know whether aJim Grosbach
function can support dynamic stack realignment. That's a much easier question to answer at instruction selection stage than whether the function actually will have dynamic alignment prologue. This allows the removal of the stack alignment heuristic pass, and improves code quality for cases where the heuristic would result in dynamic alignment code being generated when it was not strictly necessary. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93885 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-02Factor the stack alignment calculations out into a target independent pass.Jim Grosbach
No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90336 91177308-0d34-0410-b5e6-96231b3b80d8