[llvm] c0438a2 - [LangRef] Fix missing code highlighting format

Juneyoung Lee via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 10 00:12:24 PDT 2021


Author: Juneyoung Lee
Date: 2021-06-10T16:12:17+09:00
New Revision: c0438a2c0f423bd6ca34c3de77503aa48029bb0e

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

LOG: [LangRef] Fix missing code highlighting format

Added: 
    

Modified: 
    llvm/docs/LangRef.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 925382539c40..b777b25791de 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -3827,7 +3827,7 @@ cleared low bit. However, in the ``%C`` example, the optimizer is
 allowed to assume that the '``undef``' operand could be the same as
 ``%Y``, allowing the whole '``select``' to be eliminated.
 
-.. code-block:: text
+.. code-block:: llvm
 
       %A = xor undef, undef
 
@@ -3902,7 +3902,7 @@ predicates, such as Correlated Value Propagation and Global Value Numbering.
 In case of switch instruction, the branch condition should be frozen, otherwise
 it is undefined behavior.
 
-.. code-block:: text
+.. code-block:: llvm
 
     Unsafe:
       br undef, BB1, BB2 ; UB


        


More information about the llvm-commits mailing list