From d8a46e3a74251989f282ca186893dc90bf48e26d Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Wed, 4 Jun 2008 09:17:16 +0000 Subject: LowerSubregs should not clobber any analysis. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51933 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/LowerSubregs.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/CodeGen/LowerSubregs.cpp') 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&); -- cgit v1.1