From: Evan Cheng Date: Wed, 4 Jun 2008 09:17:16 +0000 (+0000) Subject: LowerSubregs should not clobber any analysis. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d8a46e3a74251989f282ca186893dc90bf48e26d;p=oota-llvm.git LowerSubregs should not clobber any analysis. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51933 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/LowerSubregs.cpp b/lib/CodeGen/LowerSubregs.cpp index 0710a353006..aaadda1cb1c 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&);