[llvm] 79316f9 - [IR] Fix comments on module getLargeDataThreshold/setLargeDataThreshold (NFC) (#137283)
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Apr 25 00:33:28 PDT 2025
    
    
  
Author: YAMAMOTO Takashi
Date: 2025-04-25T09:33:25+02:00
New Revision: 79316f9f518dad7ae9235aeab27cd4ceb4a35985
URL: https://github.com/llvm/llvm-project/commit/79316f9f518dad7ae9235aeab27cd4ceb4a35985
DIFF: https://github.com/llvm/llvm-project/commit/79316f9f518dad7ae9235aeab27cd4ceb4a35985.diff
LOG: [IR] Fix comments on module getLargeDataThreshold/setLargeDataThreshold (NFC) (#137283)
Added: 
    
Modified: 
    llvm/include/llvm/IR/Module.h
Removed: 
    
################################################################################
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