aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/LowerSubregs.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-06-04 09:17:16 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-06-04 09:17:16 +0000
commit375cac23b0efe93bdd869790aee9a5c2e0a6968c (patch)
tree7a5955e3a6d97a07f98cdf8c435751ca7c5fdb40 /lib/CodeGen/LowerSubregs.cpp
parent1376d86aa7ca10c805382047296b9451943fb108 (diff)
downloadexternal_llvm-375cac23b0efe93bdd869790aee9a5c2e0a6968c.zip
external_llvm-375cac23b0efe93bdd869790aee9a5c2e0a6968c.tar.gz
external_llvm-375cac23b0efe93bdd869790aee9a5c2e0a6968c.tar.bz2
LowerSubregs should not clobber any analysis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51933 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LowerSubregs.cpp')
-rw-r--r--lib/CodeGen/LowerSubregs.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/LowerSubregs.cpp b/lib/CodeGen/LowerSubregs.cpp
index 0710a35..aaadda1 100644
--- a/lib/CodeGen/LowerSubregs.cpp
+++ b/lib/CodeGen/LowerSubregs.cpp
@@ -30,6 +30,10 @@ namespace {
return "Subregister lowering instruction pass";
}
+ void getAnalysisUsage(AnalysisUsage &AU) const {
+ AU.setPreservesAll();
+ }
+
/// runOnMachineFunction - pass entry point
bool runOnMachineFunction(MachineFunction&);