Skip to content

Commit b41ae49

Browse files
committed
update compiler optimizations
1 parent 5c8f2b7 commit b41ae49

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/compiler/compiler-optimizations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ Enables special optimizations for mathematical operations.
6363
- Converts divisions to bit shifting if possible. Good conditions for this optimization: operands are integer, denominator is constant and power of 2.
6464
- Converts modulo by 2 expressions to equavalent bitwise operation.
6565
- Eliminates neutral binary expressions such as such as addition/subtraction with the constant-zero.
66+
- Eliminates runtime overflow checking for binary shifing expressions if right operand is constant.
6667

6768
---
6869

0 commit comments

Comments
 (0)