summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-09-06 09:17:37 +0000
committerNadav Rotem <nrotem@apple.com>2012-09-06 09:17:37 +0000
commit7c277da364716fdfd16d11bcbc26463e8ffe20b1 (patch)
treebab49595d509de5d7bef3cdd8eecad87f2cfda80 /llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
parent34e9931bec0bd85862fb6ed2e14b43cb3e43fe4c (diff)
downloadbcm5719-llvm-7c277da364716fdfd16d11bcbc26463e8ffe20b1.tar.gz
bcm5719-llvm-7c277da364716fdfd16d11bcbc26463e8ffe20b1.zip
Add a new optimization pass: Stack Coloring, that merges disjoint static allocations (allocas). Allocas are known to be
disjoint if they are marked by disjoint lifetime markers (@llvm.lifetime.XXX intrinsics). llvm-svn: 163299
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
index bf0a43785b7..a8f6f0dff80 100644
--- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
@@ -656,6 +656,8 @@ void ScheduleDAGRRList::EmitNode(SUnit *SU) {
break;
case ISD::MERGE_VALUES:
case ISD::TokenFactor:
+ case ISD::LIFETIME_START:
+ case ISD::LIFETIME_END:
case ISD::CopyToReg:
case ISD::CopyFromReg:
case ISD::EH_LABEL:
OpenPOWER on IntegriCloud