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:
2b4745f
)
Remove incorrect comment in getSingleUndroppableUse. NFC
author
Anna Thomas
<anna@azul.com>
Mon, 13 Sep 2021 19:41:40 +0000
(15:41 -0400)
committer
Anna Thomas
<anna@azul.com>
Tue, 14 Sep 2021 13:29:55 +0000
(09:29 -0400)
We traverse the entire use list to find the undroppable use.
llvm/include/llvm/IR/Value.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/IR/Value.h
b/llvm/include/llvm/IR/Value.h
index
a81b745
..
d19c5af
100644
(file)
--- a/
llvm/include/llvm/IR/Value.h
+++ b/
llvm/include/llvm/IR/Value.h
@@
-454,9
+454,6
@@
public:
/// Return true if there is exactly one use of this value that cannot be
/// dropped.
- ///
- /// This is specialized because it is a common request and does not require
- /// traversing the whole use list.
Use *getSingleUndroppableUse();
const Use *getSingleUndroppableUse() const {
return const_cast<Value *>(this)->getSingleUndroppableUse();