Skip to content

Commit 1cb2027

Browse files
authored
Update UndefinedBehavior.rst
1 parent 7a542cb commit 1cb2027

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/docs/UndefinedBehavior.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ guarantees through the language type system or the runtime).
2222
For example, we could specify the result of division by zero as zero, but
2323
since we are not really interested in the result, we say it is UB.
2424

25-
There exist two forms of undefined behaviour in LLVM: immediate UB and deferred UB. The latter comes in two flavours: undef and poison values.
25+
There exist two forms of undefined behaviour in LLVM: immediate UB and deferred UB.
26+
The latter comes in two flavours: undef and poison values.
2627
The lattice of values in LLVM is:
2728
immediate UB > poison > undef > freeze > concrete value.
2829

0 commit comments

Comments
 (0)