Inlining a function with an asm
block accepting an array as input blows up the bytecode size
#7150
Labels
compiler: ir
IRgen and sway-ir including optimization passes
compiler
General compiler. Should eventually become more specific as the issue is triaged
team:compiler
Compiler Team
Inlining a function with a single
asm
block accepting an array as input blows up the bytecode size.A minimum repro is given below.
When the
eq
function is not inlined, the bytecode size is 1656 (without new encoding).When the
eq
function is inlined, the bytecode size is 4952 (without new encoding).The text was updated successfully, but these errors were encountered: