diff options
| author | Michael Zolotukhin <mzolotukhin@apple.com> | 2018-03-22 23:44:40 +0000 |
|---|---|---|
| committer | Michael Zolotukhin <mzolotukhin@apple.com> | 2018-03-22 23:44:40 +0000 |
| commit | fab7a676c23e3f8d56a9071fbe9701aef9332db1 (patch) | |
| tree | 37032ae9d658158ed6ed7f86ae82e5e820c8f714 /llvm/lib/Target | |
| parent | 41e8e529161e9bb0f2f10c6e7f2b4b827983bc6b (diff) | |
| download | bcm5719-llvm-fab7a676c23e3f8d56a9071fbe9701aef9332db1.tar.gz bcm5719-llvm-fab7a676c23e3f8d56a9071fbe9701aef9332db1.zip | |
State that CFG is preserved in 'Falkor HW Prefetch Fix Late Phase'.
That removes some redundant recomputations from the passes pipeline.
llvm-svn: 328272
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/AArch64/AArch64FalkorHWPFFix.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64FalkorHWPFFix.cpp b/llvm/lib/Target/AArch64/AArch64FalkorHWPFFix.cpp index d1ddb2e3ef7..bd7e2c549cf 100644 --- a/llvm/lib/Target/AArch64/AArch64FalkorHWPFFix.cpp +++ b/llvm/lib/Target/AArch64/AArch64FalkorHWPFFix.cpp @@ -187,6 +187,7 @@ public: bool runOnMachineFunction(MachineFunction &Fn) override; void getAnalysisUsage(AnalysisUsage &AU) const override { + AU.setPreservesCFG(); AU.addRequired<MachineLoopInfo>(); MachineFunctionPass::getAnalysisUsage(AU); } |

