forked from OSchip/llvm-project
[LangRef] Fix missing code highlighting format
This commit is contained in:
parent
c8e980ab4a
commit
c0438a2c0f
|
@ -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
|
allowed to assume that the '``undef``' operand could be the same as
|
||||||
``%Y``, allowing the whole '``select``' to be eliminated.
|
``%Y``, allowing the whole '``select``' to be eliminated.
|
||||||
|
|
||||||
.. code-block:: text
|
.. code-block:: llvm
|
||||||
|
|
||||||
%A = xor undef, undef
|
%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
|
In case of switch instruction, the branch condition should be frozen, otherwise
|
||||||
it is undefined behavior.
|
it is undefined behavior.
|
||||||
|
|
||||||
.. code-block:: text
|
.. code-block:: llvm
|
||||||
|
|
||||||
Unsafe:
|
Unsafe:
|
||||||
br undef, BB1, BB2 ; UB
|
br undef, BB1, BB2 ; UB
|
||||||
|
|
Loading…
Reference in New Issue