Stack operand scheduling fails for `wee_alloc::WeeAlloc` function code in `tx_kernel::get_inputs` test
greenhat opened this issue · comments
Run cargo test get_inputs
EDIT: in #199 branch to reproduce.
EDIT2: to reproduce comment the assert
that blows in #201
Error:
thread 'rust_masm_tests::abi_transform::tx_kernel::test_get_inputs' panicked at codegen/masm/src/codegen/emitter.rs:207:13:
failed to schedule operands: [v7, v7, v32, v16]
for inst:
inst47
Call(Call { op: Call, callee: FunctionIdent { module: abi_transform_tx_kernel_get_inputs(SymbolIndex(83)), function: _ZN70_$LT$wee_alloc..LargeAllocPolicy$u20$as$u20$wee_alloc..AllocPolicy$GT$22new_cell_for_free_list17hf20e8828dd8da295E(SymbolIndex(88)) }, args: EntityList { index: 193, unused: PhantomData<midenc_hir::value::Value> } })
with error: NoSolution
@bitwalker It can be reproduced in #199 branch.
@bitwalker to reproduce comment the assert
that blows in #201