LowerSubregs should not clobber any analysis.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 4 Jun 2008 09:17:16 +0000 (09:17 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 4 Jun 2008 09:17:16 +0000 (09:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51933 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/LowerSubregs.cpp

index 0710a3530068165bee671839f021a646d6698ace..aaadda1cb1cc119a5f78f38b1315de888284ae89 100644 (file)
@@ -30,6 +30,10 @@ namespace {
       return "Subregister lowering instruction pass";
     }
 
+    void getAnalysisUsage(AnalysisUsage &AU) const {
+      AU.setPreservesAll();
+    }
+
     /// runOnMachineFunction - pass entry point
     bool runOnMachineFunction(MachineFunction&);