[PATCH] Rename determineInsertionPoints to determinePHINodes, expose it so it can be reused

Daniel Berlin dberlin at dberlin.org
Mon Apr 20 11:49:26 PDT 2015


Hi qcolombet, chandlerc,

MemorySSA uses this algorithm. This moves the code around and changes the arguments so it can be reused in both places.
We don't have an SSAUtils.h or anything, but happy to put this wherever.

There are no actual algorithm or datastructure changes in here, just code movement.

http://reviews.llvm.org/D9118

Files:
  include/llvm/Transforms/Utils/PromoteMemToReg.h
  lib/Transforms/Utils/PromoteMemoryToRegister.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9118.24039.patch
Type: text/x-patch
Size: 10952 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150420/e3cfb80c/attachment.bin>


More information about the llvm-commits mailing list