summaryrefslogtreecommitdiff
path: root/test/passes/optimize-instructions_optimize-level=2_all-features_ignore-implicit-traps.txt
Commit message (Collapse)AuthorAgeFilesLines
* Introduce a script for updating lit tests (#3503)Thomas Lively2021-01-211-384/+0
| | | | And demonstrate its capabilities by porting all tests of the optimize-instructions pass to use lit and FileCheck.
* Canonicalize subtraction with constant on the right to addition (#3321)Max Graey2020-11-101-4/+4
| | | | | | | Using addition in more places is better for gzip, and helps simplify the optimizer as well. Add a FinalOptimizer phase to do optimizations like our signed LEB tweaks, to reduce binary size in the rare case when we do want a subtraction.
* Canonicalize relationals as well (#3303)Max Graey2020-10-301-6/+6
|
* Lower signed binops to unsigned binops when possible (#2988)Max Graey2020-09-281-2/+2
| | | This can unlock further instruction optimizations that do not apply to signed operations.
* also drop size for memory.copy(x, x, y) (#3075)Max Graey2020-08-241-0/+3
| | | This fixes a bug in which a side effect in the calculation of the size could be lost.
* memory.copy: use nop reductions only for ignoreImplicitTraps (#3074)Max Graey2020-08-241-0/+381
According to changes in spec: WebAssembly/bulk-memory-operations#124 WebAssembly/bulk-memory-operations#145 we unfortunately can't fold to nop even for memory.copy(x, y, 0). So this PR revert all reductions to nop but do this only under ignoreImplicitTraps flag