joker-eph wrote: > This sadly disqualifies using ArrayRef as parameter as it always returns a const reference, which will never call the move constructor. What about `MutableArrayRef` ? https://github.com/llvm/llvm-project/pull/132608