[llvm] 35a509d - [llvm][docs] Correct named metadata name in example code block (NFC)

Youngsuk Kim via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 2 15:02:14 PDT 2024


Author: Youngsuk Kim
Date: 2024-08-02T17:00:41-05:00
New Revision: 35a509dd2d9a90b7582167558a5285b04aab77c1

URL: https://github.com/llvm/llvm-project/commit/35a509dd2d9a90b7582167558a5285b04aab77c1
DIFF: https://github.com/llvm/llvm-project/commit/35a509dd2d9a90b7582167558a5285b04aab77c1.diff

LOG: [llvm][docs] Correct named metadata name in example code block (NFC)

llvm.module.flag => llvm.module.flags

Added: 
    

Modified: 
    llvm/docs/NVPTXUsage.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/NVPTXUsage.rst b/llvm/docs/NVPTXUsage.rst
index 4385cba3ada0d..5654961958911 100644
--- a/llvm/docs/NVPTXUsage.rst
+++ b/llvm/docs/NVPTXUsage.rst
@@ -360,7 +360,7 @@ The following sets the ftz flag to 1.
 
 .. code-block:: llvm
 
-    !llvm.module.flag = !{!0}
+    !llvm.module.flags = !{!0}
     !0 = !{i32 4, !"nvvm-reflect-ftz", i32 1}
 
 (``i32 4`` indicates that the value set here overrides the value in another


        


More information about the llvm-commits mailing list