[llvm] a6516a8 - [Analysis] Remove dead function getInstTypePair (NFC)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 19 10:57:57 PST 2020


Author: Kazu Hirata
Date: 2020-12-19T10:57:35-08:00
New Revision: a6516a820d3548065654dabbaa95012162c74d99

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

LOG: [Analysis] Remove dead function getInstTypePair (NFC)

The last use of getInstTypePair with two parameters was removed on on
Jan 9, 2015 in commit 33d7f9de332701294f6528ae7151bc40ba008737.  It
seems to be unused since then.

Added: 
    

Modified: 
    llvm/lib/Analysis/MemDepPrinter.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Analysis/MemDepPrinter.cpp b/llvm/lib/Analysis/MemDepPrinter.cpp
index 276a10a2aba7..00642347102a 100644
--- a/llvm/lib/Analysis/MemDepPrinter.cpp
+++ b/llvm/lib/Analysis/MemDepPrinter.cpp
@@ -72,9 +72,6 @@ namespace {
       assert(dep.isUnknown() && "unexpected dependence type");
       return InstTypePair(dep.getInst(), Unknown);
     }
-    static InstTypePair getInstTypePair(const Instruction* inst, DepType type) {
-      return InstTypePair(inst, type);
-    }
   };
 }
 


        


More information about the llvm-commits mailing list