Remove incorrect comment in getSingleUndroppableUse. NFC
authorAnna Thomas <anna@azul.com>
Mon, 13 Sep 2021 19:41:40 +0000 (15:41 -0400)
committerAnna 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

index a81b745..d19c5af 100644 (file)
@@ -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();