Skip to content

Commit a1ae56d

Browse files
committed
Remove incorrect comment in getSingleUndroppableUse. NFC
We traverse the entire use list to find the undroppable use.
1 parent 2b4745f commit a1ae56d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm/include/llvm/IR/Value.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -454,9 +454,6 @@ class Value {
454454

455455
/// Return true if there is exactly one use of this value that cannot be
456456
/// dropped.
457-
///
458-
/// This is specialized because it is a common request and does not require
459-
/// traversing the whole use list.
460457
Use *getSingleUndroppableUse();
461458
const Use *getSingleUndroppableUse() const {
462459
return const_cast<Value *>(this)->getSingleUndroppableUse();

0 commit comments

Comments
 (0)