aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/CodeGenTarget.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/utils/TableGen/CodeGenTarget.cpp
parent34e9931bec0bd85862fb6ed2e14b43cb3e43fe4c (diff)
downloadllvm-7c277da364716fdfd16d11bcbc26463e8ffe20b1.zip
llvm-7c277da364716fdfd16d11bcbc26463e8ffe20b1.tar.gz
llvm-7c277da364716fdfd16d11bcbc26463e8ffe20b1.tar.bz2
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/utils/TableGen/CodeGenTarget.cpp')
-rw-r--r--llvm/utils/TableGen/CodeGenTarget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/CodeGenTarget.cpp b/llvm/utils/TableGen/CodeGenTarget.cpp
index 8854816..fa31c9f 100644
--- a/llvm/utils/TableGen/CodeGenTarget.cpp
+++ b/llvm/utils/TableGen/CodeGenTarget.cpp
@@ -300,6 +300,8 @@ void CodeGenTarget::ComputeInstrsByEnum() const {
"REG_SEQUENCE",
"COPY",
"BUNDLE",
+ "LIFETIME_START",
+ "LIFETIME_END",
0
};
const DenseMap<const Record*, CodeGenInstruction*> &Insts = getInstructions();