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

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


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

None

>From ccdba6f1729f89ffbda5f585097cad5c4d4edc0a Mon Sep 17 00:00:00 2001
From: YAMAMOTO Takashi <yamamoto at midokura.com>
Date: Fri, 25 Apr 2025 13:12:45 +0900
Subject: [PATCH] Fix comments on module
 getLargeDataThreshold/setLargeDataThreshold

---
 llvm/include/llvm/IR/Module.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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);
   /// @}
 



More information about the llvm-commits mailing list