[llvm] aa7f0e6 - [DSE] Remove commented-out InvisibleToCallerBeforeRet. (NFC)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 17 05:59:28 PST 2022


Author: Florian Hahn
Date: 2022-01-17T13:59:13Z
New Revision: aa7f0e6a553e9a84a46852cfabbaff8a5cb48325

URL: https://github.com/llvm/llvm-project/commit/aa7f0e6a553e9a84a46852cfabbaff8a5cb48325
DIFF: https://github.com/llvm/llvm-project/commit/aa7f0e6a553e9a84a46852cfabbaff8a5cb48325.diff

LOG: [DSE] Remove commented-out InvisibleToCallerBeforeRet. (NFC)

This code was is a leftover from earlier changes and should be removed.

Added: 
    

Modified: 
    llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp b/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
index c18f33a930b6f..2003918d94547 100644
--- a/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
+++ b/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
@@ -758,7 +758,6 @@ struct DSEState {
   SmallPtrSet<MemoryAccess *, 4> SkipStores;
   // Keep track of all of the objects that are invisible to the caller before
   // the function returns.
-  // SmallPtrSet<const Value *, 16> InvisibleToCallerBeforeRet;
   DenseMap<const Value *, bool> InvisibleToCallerBeforeRet;
   // Keep track of all of the objects that are invisible to the caller after
   // the function returns.


        


More information about the llvm-commits mailing list