[PATCH] D17864: [PGO] Promote indirect calls to conditional direct calls with value-profile
Johan Engelen via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 6 10:22:03 PDT 2016
johanengelen added a subscriber: johanengelen.
================
Comment at: lib/Transforms/IPO/PassManagerBuilder.cpp:229
@@ -227,1 +228,3 @@
+ // Indirect call promotion.
+ MPM.add(createPGOIndirectCallPromotionPass());
}
----------------
Placing add(createPGOIndirectCallPromotionPass()) here means that IndirectCallPromotionPass will be enabled at -O0, which I think is undesirable.
http://reviews.llvm.org/D17864
More information about the llvm-commits
mailing list