WebAssembly 1.0 only supports a table-number immediate operand of 0x00.
As we add support for multiple tables with a corresponding relocation,
continue to allow generation of one-byte table number references, so
that the "normal" case of just one table with the number 0 can be
written as 0x00. This allows the compiler to output relocations for
call_indirect while targetting WebAssembly 1.0, simplifying the
configuration space.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
A bit of an RFC, this one -- perhaps it is a way out of the impasse of https://reviews.llvm.org/D95005.