[PATCH] D21405: [PGO] IRPGO pre-cleanup pass changes
Mehdi AMINI via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 8 11:07:51 PDT 2016
mehdi_amini added inline comments.
================
Comment at: lib/Transforms/IPO/PassManagerBuilder.cpp:228
@@ +227,3 @@
+ MPM.add(createSROAPass());
+ MPM.add(createEarlyCSEPass()); // Catch trivial redundancies
+ MPM.add(createCFGSimplificationPass()); // Merge & remove BBs
----------------
Uh? Since we have Os/Oz as function attribute, it seems strange to me to have this hard-coded on a global level.
http://reviews.llvm.org/D21405
More information about the llvm-commits
mailing list