[PATCH] D86824: [GlobalISel] Enable usage of BranchProbabilityInfo in IRTranslator
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 28 16:31:56 PDT 2020
arsenm accepted this revision.
arsenm added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp:2897-2900
+ if (EnableOpts)
+ FuncInfo.BPI = &getAnalysis<BranchProbabilityInfoWrapperPass>().getBPI();
+ else
+ FuncInfo.BPI = nullptr;
----------------
Ternary operator?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86824/new/
https://reviews.llvm.org/D86824
More information about the llvm-commits
mailing list