Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[Wasm] Reduce the amount of memory used by the Air register coloring …
…allocator https://bugs.webkit.org/show_bug.cgi?id=212106 Reviewed by Yusuke Suzuki. Changed InterferenceEdge to be a templated class so we can instantiate an unsigned short version to cut memory in half for code that has less than 2^16 temps. Through instrumentation, my testing showed that almost all compilations use the 16bit implementation. Although this change is for all B3/Air compilations at O2, Wasm compilations are usally larger and therefore get the greatest benefit. This allowed increasing the default value for the option webAssemblyBBQFallbackSize, with a small increase in memory usage. * b3/air/AirAllocateRegistersByGraphColoring.cpp: * runtime/OptionsList.h: Canonical link: https://commits.webkit.org/226077@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@263146 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
3 changed files
with
158 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.