Module debris_llir::opt::optimizers::arithmetic_optimizer
source · Structs
- Fraction 🔒
Functions
- Optimizes basic arithmetic expressions with the shape x OP constant OP constant … NOTE: This optimizer changes the runtime behavior! An operation like
a * 2000 / 1000
can cause an overflow, while the optimized versiona * 2
might not. For this reason it is very important that this optimizer is not toggled between release and debug mode.