[llvm] 0fae453 - [LangRef] Fix mistake in example (#84849)

via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 12 17:47:15 PDT 2024


Author: Vitaly Buka
Date: 2024-03-12T17:44:04-07:00
New Revision: 0fae4530e8476328f9a19b3ea4338b3a1e2187a8

URL: https://github.com/llvm/llvm-project/commit/0fae4530e8476328f9a19b3ea4338b3a1e2187a8
DIFF: https://github.com/llvm/llvm-project/commit/0fae4530e8476328f9a19b3ea4338b3a1e2187a8.diff

LOG: [LangRef] Fix mistake in example (#84849)

Added: 
    

Modified: 
    llvm/docs/LangRef.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 77ec72f176d6ed..ecedd3a32c7b36 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -27553,12 +27553,12 @@ in example below:
 .. code-block:: text
 
     %cond = call i1 @llvm.experimental.widenable.condition()
-    br i1 %cond, label %solution_1, label %solution_2
+    br i1 %cond, label %fast_path, label %slow_path
 
-  label %fast_path:
+  fast_path:
     ; Apply memory-consuming but fast solution for a task.
 
-  label %slow_path:
+  slow_path:
     ; Cheap in memory but slow solution.
 
 Whether the result of intrinsic's call is `true` or `false`,


        


More information about the llvm-commits mailing list