diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-09-22 20:58:04 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-09-22 20:58:04 +0000 |
commit | bbeeb2a61ea19fbb5449260165b56c40fdc4860b (patch) | |
tree | afd3e364209c9b349e6a70ca3ee71c086ff7297a /lib/CodeGen/LowerSubregs.cpp | |
parent | f74185b80e07d58208b24f0314d94853d48ec9bd (diff) | |
download | external_llvm-bbeeb2a61ea19fbb5449260165b56c40fdc4860b.zip external_llvm-bbeeb2a61ea19fbb5449260165b56c40fdc4860b.tar.gz external_llvm-bbeeb2a61ea19fbb5449260165b56c40fdc4860b.tar.bz2 |
Mark several codegen passes as preserving all analysis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56469 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LowerSubregs.cpp')
-rw-r--r-- | lib/CodeGen/LowerSubregs.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/LowerSubregs.cpp b/lib/CodeGen/LowerSubregs.cpp index 6e115dd..5430d4f 100644 --- a/lib/CodeGen/LowerSubregs.cpp +++ b/lib/CodeGen/LowerSubregs.cpp @@ -30,6 +30,11 @@ namespace { return "Subregister lowering instruction pass"; } + virtual void getAnalysisUsage(AnalysisUsage &AU) const { + AU.setPreservesAll(); + MachineFunctionPass::getAnalysisUsage(AU); + } + /// runOnMachineFunction - pass entry point bool runOnMachineFunction(MachineFunction&); |