From: Fangrui Song Date: Sun, 14 Apr 2019 07:28:29 +0000 (+0000) Subject: [Mem2Reg] Delete unused PointerAllocaValues X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=581b638b1686c57586b44424d1a1fb0649315ce5;p=llvm [Mem2Reg] Delete unused PointerAllocaValues It is unused after AliasSetTracker support was removed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358352 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Utils/PromoteMemoryToRegister.cpp b/lib/Transforms/Utils/PromoteMemoryToRegister.cpp index 4cdef6def01..d58e1ea574e 100644 --- a/lib/Transforms/Utils/PromoteMemoryToRegister.cpp +++ b/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.