Skip to content

Commit c0438a2

Browse files
committed
[LangRef] Fix missing code highlighting format
1 parent c8e980a commit c0438a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/docs/LangRef.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3827,7 +3827,7 @@ cleared low bit. However, in the ``%C`` example, the optimizer is
38273827
allowed to assume that the '``undef``' operand could be the same as
38283828
``%Y``, allowing the whole '``select``' to be eliminated.
38293829

3830-
.. code-block:: text
3830+
.. code-block:: llvm
38313831

38323832
%A = xor undef, undef
38333833

@@ -3902,7 +3902,7 @@ predicates, such as Correlated Value Propagation and Global Value Numbering.
39023902
In case of switch instruction, the branch condition should be frozen, otherwise
39033903
it is undefined behavior.
39043904

3905-
.. code-block:: text
3905+
.. code-block:: llvm
39063906

39073907
Unsafe:
39083908
br undef, BB1, BB2 ; UB

0 commit comments

Comments
 (0)