summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* avoid threading jumps when there is irreducible control flow, as it is hard ↵Alon Zakai2016-09-142-2552/+2766
| | | | to know if it is safe to do so
* drop if-else arms as necessaryAlon Zakai2016-09-135-8/+133
|
* update br type when turning it into a br_if in remove-unused-brsAlon Zakai2016-09-135-0/+107
|
* fix bug with turning if into br_if without checking for reordering dangersAlon Zakai2016-09-124-20/+167
|
* simple jump threadingAlon Zakai2016-09-126-6987/+7005
|
* thread relooper jumpsAlon Zakai2016-09-127-17351/+16837
|
* remove final elements in vacuum carefully: we must preserve a return value ↵Alon Zakai2016-09-112-0/+75
| | | | if there is one
* run another optimize-expressions at the end of asm2wasmAlon Zakai2016-09-107-32/+209
|
* optimize if-else to br_if when in a blockAlon Zakai2016-09-1011-369/+375
|
* optimize eqz^2 in select and br_ifAlon Zakai2016-09-104-42/+36
|
* test name fixAlon Zakai2016-09-102-2/+2
|
* sort locals by number of total copiesAlon Zakai2016-09-1012-12094/+12000
|
* take into account removed copies even when number of locals is the same, in ↵Alon Zakai2016-09-099-6768/+6754
| | | | coalesce-locals
* optimize loop endings in RemoveUnusedBrsAlon Zakai2016-09-0910-6716/+6693
| | | | | * rotate an if near the end of a loop as it can let a break out flow naturally and be removable * turn a br_if into an if it allows such an optimization in cases where it helps remove other structures
* enable udivmoddi4 opts in asm2wasmAlon Zakai2016-09-084-4403/+144
|
* autodrop if body if no elseAlon Zakai2016-09-0719-283/+438
|
* properly handle blocks with return values in vacuum - we cannot remove their ↵Alon Zakai2016-09-074-8/+17
| | | | final value directly, we can only do that if it is dropped, from the drop
* vacuum drops betterAlon Zakai2016-09-076-114/+117
|
* do a first pass in SimplifyLocals that focuses on single-use localsAlon Zakai2016-09-072-5082/+4776
|
* add a testAlon Zakai2016-09-075-1/+37
|
* flip select-eqz when possibleAlon Zakai2016-09-078-262/+220
|
* optimize out a set of a get of a globalAlon Zakai2016-09-074-18/+0
|
* track globals in EffectAnalyzerAlon Zakai2016-09-077-304/+433
|
* optimize loads+shifts into signed loadsAlon Zakai2016-09-077-428/+464
|
* optimize out eqz^2Alon Zakai2016-09-074-588/+304
|
* use eqz as an optimizationAlon Zakai2016-09-0710-4357/+3682
|
* new validation checks for upcoming spec testsAlon Zakai2016-09-075-51/+51
|
* new export syntax in spec repoAlon Zakai2016-09-0740-283/+283
|
* new import syntax in spec repoAlon Zakai2016-09-0743-475/+475
|
* re-enable spec testsAlon Zakai2016-09-071-0/+0
|
* Add a ReFinalize helper, and use that to properly handle asm.js imports ↵Alon Zakai2016-09-075-56/+210
| | | | whose return value is polymorphic
* support HEAP8[x | 0| notation in asm2wasmAlon Zakai2016-09-075-0/+29
|
* import memoryBase and tableBaseAlon Zakai2016-09-0732-16/+72
|
* import tableAlon Zakai2016-09-0732-0/+32
|
* import memory #684Alon Zakai2016-09-0732-32/+32
|
* update empty.fromast test outputAlon Zakai2016-09-071-0/+2
|
* add asm2wasm option to import a mem init fileAlon Zakai2016-09-077-0/+14
| | | | | | | | apply memory segments only if there isn't a memory initializer (which we need for asmjs and asm2wasm modes) use wasm-opt to check recreated wasts for validity, as wasm-shell would try to execute them add testing for combined modes like asmjs,interpret-binary
* do a little more optimization at the end of asm2wasm processingAlon Zakai2016-09-076-136/+68
|
* sink a drop into a single if armAlon Zakai2016-09-074-34/+63
|
* autodrop must be run before we optimize in asm2wasm, as otherwise its input ↵Alon Zakai2016-09-074-76/+102
| | | | | | is not yet valid then after finalizeCalls, we must autodrop again to drop things that finalizeCalls changed
* don't simplify locals out of loops if they contain branching, as it may ↵Alon Zakai2016-09-072-0/+49
| | | | invalidate the branch
* when replacing an if with its condition (when it has no body), we must drop itAlon Zakai2016-09-075-0/+77
|
* add a test for loop finalizationAlon Zakai2016-09-075-0/+108
|
* run vacuum again after autodrop in asm2wasm, if optimizingAlon Zakai2016-09-076-130/+430
|
* handle asm.js globals that are set and the return value usedAlon Zakai2016-09-071-0/+11
|
* fix AutoDrop block handling - the block type might change as we modify its ↵Alon Zakai2016-09-074-168/+128
| | | | contents
* set type of calls to their target, instead of the previous behavior where ↵Alon Zakai2016-09-075-0/+106
| | | | the asm.js context informed us. this lets us add drops where necessary
* use globals in asm2wasmAlon Zakai2016-09-0720-2762/+1450
|
* export kindsAlon Zakai2016-09-0732-35/+35
|
* add a drop for final elements in blocks if they are not usedAlon Zakai2016-09-078-124/+196
|