forked from OSchip/llvm-project
State that CFG is preserved in 'Falkor HW Prefetch Fix Late Phase'.
That removes some redundant recomputations from the passes pipeline. llvm-svn: 328272
This commit is contained in:
parent
41e8e52916
commit
fab7a676c2
|
@ -187,6 +187,7 @@ public:
|
||||||
bool runOnMachineFunction(MachineFunction &Fn) override;
|
bool runOnMachineFunction(MachineFunction &Fn) override;
|
||||||
|
|
||||||
void getAnalysisUsage(AnalysisUsage &AU) const override {
|
void getAnalysisUsage(AnalysisUsage &AU) const override {
|
||||||
|
AU.setPreservesCFG();
|
||||||
AU.addRequired<MachineLoopInfo>();
|
AU.addRequired<MachineLoopInfo>();
|
||||||
MachineFunctionPass::getAnalysisUsage(AU);
|
MachineFunctionPass::getAnalysisUsage(AU);
|
||||||
}
|
}
|
||||||
|
|
|
@ -142,8 +142,6 @@
|
||||||
; CHECK-NEXT: MachineDominator Tree Construction
|
; CHECK-NEXT: MachineDominator Tree Construction
|
||||||
; CHECK-NEXT: Machine Natural Loop Construction
|
; CHECK-NEXT: Machine Natural Loop Construction
|
||||||
; CHECK-NEXT: Falkor HW Prefetch Fix Late Phase
|
; CHECK-NEXT: Falkor HW Prefetch Fix Late Phase
|
||||||
; CHECK-NEXT: MachineDominator Tree Construction
|
|
||||||
; CHECK-NEXT: Machine Natural Loop Construction
|
|
||||||
; CHECK-NEXT: PostRA Machine Instruction Scheduler
|
; CHECK-NEXT: PostRA Machine Instruction Scheduler
|
||||||
; CHECK-NEXT: Analyze Machine Code For Garbage Collection
|
; CHECK-NEXT: Analyze Machine Code For Garbage Collection
|
||||||
; CHECK-NEXT: Machine Block Frequency Analysis
|
; CHECK-NEXT: Machine Block Frequency Analysis
|
||||||
|
|
Loading…
Reference in New Issue