[llvm-commits] CVS: llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Oct 22 22:31:01 PDT 2002


Changes in directory llvm/lib/CodeGen/InstrSched:

InstrScheduling.cpp updated: 1.42 -> 1.43

---
Log message:

Tell PassManager that this pass does not invalidate the CFG so that dominator
information and Loop info will not have to be recomputed after this runs.


---
Diffs of the changes:

Index: llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
diff -u llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp:1.42 llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp:1.43
--- llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp:1.42	Sat Oct 12 19:40:37 2002
+++ llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp	Tue Oct 22 22:30:42 2002
@@ -1499,6 +1499,7 @@
     // getAnalysisUsage - We use LiveVarInfo...
     virtual void getAnalysisUsage(AnalysisUsage &AU) const {
       AU.addRequired<FunctionLiveVarInfo>();
+      AU.setPreservesCFG();
     }
     
     bool runOnFunction(Function &F);





More information about the llvm-commits mailing list