ASM Optimization for "null operations" #6906
Labels
compiler: optimization
IR Optimization Passes
performance
Everything related to performance, speed wise or memory wise.
team:compiler
Compiler Team
If we compile the code below with
forc build --path {root} --release --ir final
.We see the following ASM:
We can see a lot of "null operations" such as
mul
by zero and others.For example:
We already have these kind optimizations, but it seems there is still space to improve them.
The text was updated successfully, but these errors were encountered: