[Analysis] Remove dead function getInstTypePair (NFC)
authorKazu Hirata <kazu@google.com>
Sat, 19 Dec 2020 18:57:35 +0000 (10:57 -0800)
committerKazu Hirata <kazu@google.com>
Sat, 19 Dec 2020 18:57:35 +0000 (10:57 -0800)
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.

llvm/lib/Analysis/MemDepPrinter.cpp

index 276a10a..0064234 100644 (file)
@@ -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);
-    }
   };
 }