From d8a46e3a74251989f282ca186893dc90bf48e26d Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Wed, 4 Jun 2008 09:17:16 +0000 Subject: [PATCH] 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(+) 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&); -- 2.34.1