[PATCH] D10979: Update the branch weight metadata in JumpThreading pass.
David
davidxl at google.com
Tue Jul 7 13:26:50 PDT 2015
================
Comment at: lib/Transforms/Scalar/JumpThreading.cpp:172
@@ -162,1 +171,3 @@
LVI = &getAnalysis<LazyValueInfo>();
+ BFI = &getAnalysis<BlockFrequencyInfo>();
+ BPI = &getAnalysis<BranchProbabilityInfo>();
----------------
Ideally the new passes in the pipeline is only needed when profile-instr-use or autofdo is turned on.
http://reviews.llvm.org/D10979
More information about the llvm-commits
mailing list