We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c382db commit d44283bCopy full SHA for d44283b
src/compiler/compiler-optimizations.md
@@ -65,6 +65,8 @@ Enables special optimizations for mathematical operations.
65
- 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.
67
- Eliminates runtime overflow of the `x^0` computations. It will be simplified to `x` expression.
68
+- Simplifies expresions such as `x+x` to `x<<1` if possible.
69
+- Simplifies expressions such as `x-x` to `0` if possible.
70
71
---
72
0 commit comments