[llvm] Fix comments on module getLargeDataThreshold/setLargeDataThreshold (PR #137283)

via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 24 21:14:49 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-ir

Author: YAMAMOTO Takashi (yamt)

<details>
<summary>Changes</summary>



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


1 Files Affected:

- (modified) llvm/include/llvm/IR/Module.h (+2-2) 


``````````diff
diff --git a/llvm/include/llvm/IR/Module.h b/llvm/include/llvm/IR/Module.h
index 91ccd76c41e07..d69025a066a1c 100644
--- a/llvm/include/llvm/IR/Module.h
+++ b/llvm/include/llvm/IR/Module.h
@@ -963,10 +963,10 @@ class LLVM_ABI Module {
   /// @name Utility function for querying and setting the large data threshold
   /// @{
 
-  /// Returns the code model (tiny, small, kernel, medium or large model)
+  /// Returns the large data threshold.
   std::optional<uint64_t> getLargeDataThreshold() const;
 
-  /// Set the code model (tiny, small, kernel, medium or large)
+  /// Set the large data threshold.
   void setLargeDataThreshold(uint64_t Threshold);
   /// @}
 

``````````

</details>


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


More information about the llvm-commits mailing list