Skip to content

Commit 78ec2f4

Browse files
authored
Update UndefinedBehavior.rst
1 parent aade2a1 commit 78ec2f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/docs/UndefinedBehavior.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ However, this transformation is not correct! Since division triggers UB
7676
when the divisor is zero, we can only execute speculatively if we are sure we
7777
don't hit that condition.
7878
The function above, when called as ``f(false, 0)``, would return 0 before the
79-
optimization, and triggers UB after being optimizing.
79+
optimization, and triggers UB after being optimized.
8080

8181
This example highlights why we minimize the cases that trigger immediate UB
8282
as much as possible.

0 commit comments

Comments
 (0)