File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -3743,8 +3743,8 @@ Here are some examples:
3743
3743
3744
3744
%narrowaddr = bitcast i32* @g to i16*
3745
3745
%wideaddr = bitcast i32* @g to i64*
3746
- %poison3 = load i16, i16* %narrowaddr ; Returns a poison value.
3747
- %poison4 = load i64, i64* %wideaddr ; Returns a poison value.
3746
+ %poison4 = load i16, i16* %narrowaddr ; Returns a poison value.
3747
+ %poison5 = load i64, i64* %wideaddr ; Returns a poison value.
3748
3748
3749
3749
%cmp = icmp slt i32 %poison, 0 ; Returns a poison value.
3750
3750
br i1 %cmp, label %end, label %end ; undefined behavior
@@ -3763,8 +3763,7 @@ The padding of an aggregate isn't considered, since it isn't visible
3763
3763
without storing it into memory and loading it with a different type.
3764
3764
3765
3765
A constant of a :ref:`single value <t_single_value>`, non-vector type is well
3766
- defined if it is a non-undef constant. Note that there is no poison constant
3767
- in LLVM.
3766
+ defined if it is neither '``undef``' constant nor '``poison``' constant.
3768
3767
The result of :ref:`freeze instruction <i_freeze>` is well defined regardless
3769
3768
of its operand.
3770
3769
You can’t perform that action at this time.
0 commit comments