[PATCH] Rename determineInsertionPoints to determinePHINodes, expose it so it can be reused
Daniel Berlin
dberlin at dberlin.org
Mon Apr 20 12:06:52 PDT 2015
================
Comment at: lib/Transforms/Utils/PromoteMemoryToRegister.cpp:1014
@@ +1013,3 @@
+ const DenseMap<DomTreeNode *, unsigned> &DomLevels,
+ SmallVectorImpl<std::pair<unsigned, BasicBlock *>> &PHIBlocks) {
+
----------------
Note that i have deliberately not changed the algorithm handling numbering here. Post-this-patch, i will move the block number lookups and sorting into the caller, and make this a simple SmallVector<BasicBlock *>, and remove the BBNumbers argument)
http://reviews.llvm.org/D9118
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list