projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56edfca
)
[Analysis] Remove dead function getInstTypePair (NFC)
author
Kazu Hirata
<kazu@google.com>
Sat, 19 Dec 2020 18:57:35 +0000
(10:57 -0800)
committer
Kazu 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
patch
|
blob
|
history
diff --git
a/llvm/lib/Analysis/MemDepPrinter.cpp
b/llvm/lib/Analysis/MemDepPrinter.cpp
index
276a10a
..
0064234
100644
(file)
--- 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);
- }
};
}