Type-based alias analysis for Wasm GC #9348
Labels
cranelift:goal:optimize-speed
Focus area: the speed of the code produced by Cranelift.
performance
wasm-proposal:gc
Issues with the implementation of the gc wasm proposal
wasmtime:ref-types
Issues related to reference types and GC in Wasmtime
We can take advantage of Wasm GC's sound type system to determine which memory accesses are in logically separate regions, feed that into our alias analysis pass, and go to town.
Requires replacing our hard-coded alias regions with something that is customizable by the cranelift embedder, e.g. just representing alias regions with a
u8
code and letting the embedder choose what each code means.The text was updated successfully, but these errors were encountered: