[llvm-commits] CVS: llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 22 22:31:04 PDT 2002
Changes in directory llvm/lib/CodeGen/InstrSelection:
InstrSelection.cpp updated: 1.47 -> 1.48
---
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/InstrSelection/InstrSelection.cpp
diff -u llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp:1.47 llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp:1.48
--- llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp:1.47 Sun Sep 8 16:19:29 2002
+++ llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp Tue Oct 22 22:30:47 2002
@@ -63,6 +63,10 @@
int ruleForNode, short* nts);
public:
InstructionSelection(TargetMachine &T) : Target(T) {}
+
+ virtual void getAnalysisUsage(AnalysisUsage &AU) const {
+ AU.setPreservesCFG();
+ }
bool runOnFunction(Function &F);
};
More information about the llvm-commits
mailing list