[PATCH] D36073: [CGP] Extends the scope of optimizeMemoryInst optimization
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 10 01:16:07 PDT 2017
mkazantsev added inline comments.
================
Comment at: lib/CodeGen/CodeGenPrepare.cpp:4366
+ for (auto B : predecessors(CurrentBlock)) {
+ ValueInBasicBlock item = { IsDefinedInThisBB
+ ? CurrentPhi->getIncomingValueForBlock(B)
----------------
Nit: `Item`
https://reviews.llvm.org/D36073
More information about the llvm-commits
mailing list