From de20429cfc00f8d962c41a42024e8309bdda29ed Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sun, 14 Apr 2019 07:28:29 +0000 Subject: [PATCH] [Mem2Reg] Delete unused PointerAllocaValues It is unused after AliasSetTracker support was removed. llvm-svn: 358352 --- llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp b/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp index 4cdef6def019..d58e1ea574ef 100644 --- a/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp +++ b/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp @@ -249,11 +249,6 @@ struct PromoteMem2Reg { /// to. DenseMap PhiToAllocaMap; - /// If we are updating an AliasSetTracker, then for each alloca that is of - /// pointer type, we keep track of what to copyValue to the inserted PHI - /// nodes here. - std::vector PointerAllocaValues; - /// For each alloca, we keep track of the dbg.declare intrinsic that /// describes it, if any, so that we can convert it to a dbg.value /// intrinsic if the alloca gets promoted.