mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164408 91177308-0d34-0410-b5e6-96231b3b80d8
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