Fix a significant recent(?) regression. StackSlotColoring no longer did anything
because LiveStackAnalysis was not preserved by VirtRegWriter. This caused big stack usage regression in some cases. rdar://12340383 llvm-svn: 164408
This commit is contained in:
@@ -25,7 +25,10 @@
|
||||
using namespace llvm;
|
||||
|
||||
char LiveStacks::ID = 0;
|
||||
INITIALIZE_PASS(LiveStacks, "livestacks",
|
||||
INITIALIZE_PASS_BEGIN(LiveStacks, "livestacks",
|
||||
"Live Stack Slot Analysis", false, false)
|
||||
INITIALIZE_PASS_DEPENDENCY(SlotIndexes)
|
||||
INITIALIZE_PASS_END(LiveStacks, "livestacks",
|
||||
"Live Stack Slot Analysis", false, false)
|
||||
|
||||
char &llvm::LiveStacksID = LiveStacks::ID;
|
||||
|
||||
Reference in New Issue
Block a user