diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-06-04 09:17:16 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-06-04 09:17:16 +0000 |
commit | d8a46e3a74251989f282ca186893dc90bf48e26d (patch) | |
tree | 7a5955e3a6d97a07f98cdf8c435751ca7c5fdb40 /lib/CodeGen/LowerSubregs.cpp | |
parent | cb74266cdbcd79efb46f8c1c66ca044cb0ac5f96 (diff) | |
download | external_llvm-d8a46e3a74251989f282ca186893dc90bf48e26d.zip external_llvm-d8a46e3a74251989f282ca186893dc90bf48e26d.tar.gz external_llvm-d8a46e3a74251989f282ca186893dc90bf48e26d.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.cpp | 4 |
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&); |