[PATCH] D45397: [Mem2Reg] Create merged debug locations for inserted phis

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 17 13:06:29 PDT 2018


aprantl accepted this revision.
aprantl added inline comments.
This revision is now accepted and ready to land.


================
Comment at: lib/Transforms/Utils/PromoteMemoryToRegister.cpp:167
 
 // Data package used by RenamePass()
 class RenamePassData {
----------------
///


================
Comment at: lib/Transforms/Utils/PromoteMemoryToRegister.cpp:169
 class RenamePassData {
 public:
   using ValVector = std::vector<Value *>;
----------------
might as well make this a struct?


https://reviews.llvm.org/D45397





More information about the llvm-commits mailing list