[PATCH] D52827: [LICM] Make LICM able to hoist phis
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 8 22:07:26 PST 2018
mkazantsev added inline comments.
================
Comment at: lib/Transforms/Scalar/LICM.cpp:636
+ // Now finally hoist BI.
+ ReplaceInstWithInst(
+ HoistTarget->getTerminator(),
----------------
It can be useful to have staitstics on hoisted branches. I'm OK if it goes as a follow-up patch.
Repository:
rL LLVM
https://reviews.llvm.org/D52827
More information about the llvm-commits
mailing list