diff options
author | Dan Gohman <gohman@apple.com> | 2009-07-31 23:37:33 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-07-31 23:37:33 +0000 |
commit | ecb436f195e55e6bf84713b54efd6c621a9ddbfe (patch) | |
tree | 64ec9abb5dfd8100874df062a8e0793b3721810a /lib/CodeGen/StackSlotColoring.cpp | |
parent | 03354410a05e9b2d4af041326bcc7c363880e703 (diff) | |
download | external_llvm-ecb436f195e55e6bf84713b54efd6c621a9ddbfe.zip external_llvm-ecb436f195e55e6bf84713b54efd6c621a9ddbfe.tar.gz external_llvm-ecb436f195e55e6bf84713b54efd6c621a9ddbfe.tar.bz2 |
Use setPreservesAll and setPreservesCFG in CodeGen passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77754 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/StackSlotColoring.cpp')
-rw-r--r-- | lib/CodeGen/StackSlotColoring.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/StackSlotColoring.cpp b/lib/CodeGen/StackSlotColoring.cpp index 17c8929..e491c28 100644 --- a/lib/CodeGen/StackSlotColoring.cpp +++ b/lib/CodeGen/StackSlotColoring.cpp @@ -97,6 +97,7 @@ namespace { MachineFunctionPass(&ID), ColorWithRegs(RegColor), NextColor(-1) {} virtual void getAnalysisUsage(AnalysisUsage &AU) const { + AU.setPreservesCFG(); AU.addRequired<LiveStacks>(); AU.addRequired<VirtRegMap>(); AU.addPreserved<VirtRegMap>(); |