[llvm] [IR] Remove stale reference to waymarking from Use.h comments. NFC (PR #125114)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 30 12:52:21 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-ir

Author: Craig Topper (topperc)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/125114.diff


1 Files Affected:

- (modified) llvm/include/llvm/IR/Use.h (-8) 


``````````diff
diff --git a/llvm/include/llvm/IR/Use.h b/llvm/include/llvm/IR/Use.h
index 64b86f3a4396ab..a86b9c46c1f695 100644
--- a/llvm/include/llvm/IR/Use.h
+++ b/llvm/include/llvm/IR/Use.h
@@ -11,14 +11,6 @@
 /// instruction or some other User instance which refers to a Value.  The Use
 /// class keeps the "use list" of the referenced value up to date.
 ///
-/// Pointer tagging is used to efficiently find the User corresponding to a Use
-/// without having to store a User pointer in every Use. A User is preceded in
-/// memory by all the Uses corresponding to its operands, and the low bits of
-/// one of the fields (Prev) of the Use class are used to encode offsets to be
-/// able to find that User given a pointer to any Use. For details, see:
-///
-///   http://www.llvm.org/docs/ProgrammersManual.html#UserLayout
-///
 //===----------------------------------------------------------------------===//
 
 #ifndef LLVM_IR_USE_H

``````````

</details>


https://github.com/llvm/llvm-project/pull/125114


More information about the llvm-commits mailing list