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);
-    }
   };
 }
 


        
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to