diff options
author | Hiroshi Yamauchi <yamauchi@google.com> | 2020-01-27 10:05:54 -0800 |
---|---|---|
committer | Hiroshi Yamauchi <yamauchi@google.com> | 2020-01-28 10:58:46 -0800 |
commit | 2c03c899d505e264b26ca20237ea455d85e51bed (patch) | |
tree | 5a52ebeb7c21103706ce80c82dd5a430729743e4 /llvm/lib/CodeGen/IfConversion.cpp | |
parent | b8d9ac08703b1ae9c3cd721c39774053786a9980 (diff) | |
download | llvm-2c03c899d505e264b26ca20237ea455d85e51bed.zip llvm-2c03c899d505e264b26ca20237ea455d85e51bed.tar.gz llvm-2c03c899d505e264b26ca20237ea455d85e51bed.tar.bz2 |
[MBFI] Move BranchFolding::MBFIWrapper to its own files. NFC.
Summary:
To avoid header file circular dependency issues in passing updated MBFI (in
MBFIWrapper) to the interface of profile guided size optimizations.
A prep step for (and split off of) D73381.
Reviewers: davidxl
Subscribers: mgorny, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73494
Diffstat (limited to 'llvm/lib/CodeGen/IfConversion.cpp')
-rw-r--r-- | llvm/lib/CodeGen/IfConversion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/IfConversion.cpp b/llvm/lib/CodeGen/IfConversion.cpp index 7d64828..1a42092 100644 --- a/llvm/lib/CodeGen/IfConversion.cpp +++ b/llvm/lib/CodeGen/IfConversion.cpp @@ -447,7 +447,7 @@ bool IfConverter::runOnMachineFunction(MachineFunction &MF) { TLI = ST.getTargetLowering(); TII = ST.getInstrInfo(); TRI = ST.getRegisterInfo(); - BranchFolder::MBFIWrapper MBFI(getAnalysis<MachineBlockFrequencyInfo>()); + MBFIWrapper MBFI(getAnalysis<MachineBlockFrequencyInfo>()); MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); ProfileSummaryInfo *PSI = &getAnalysis<ProfileSummaryInfoWrapperPass>().getPSI(); |