summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SafeStackLayout.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [safestack] Layout large allocas first to reduce fragmentation.Evgeniy Stepanov2016-08-021-0/+8
| | | | llvm-svn: 277544
* Fix invalid iterator use in safestack coloring.Evgeniy Stepanov2016-07-251-1/+2
| | | | llvm-svn: 276676
* StackColoring for SafeStack.Evgeniy Stepanov2016-06-291-0/+138
This is a fix for PR27842. An IR-level implementation of stack coloring tailored to work with SafeStack. It is a bit weaker than the MI implementation in that it does not the "lifetime start at first access" logic. This can be improved in the future. This patch also replaces the naive implementation of stack frame layout with a greedy algorithm that can split existing stack slots and even fit small objects inside the alignment padding of other objects. llvm-svn: 274162
OpenPOWER on IntegriCloud