https://github.com/DianQK approved this pull request. LGTM, thanks! This context is https://rust-lang.zulipchat.com/#narrow/stream/187780-t-compiler.2Fwg-llvm/topic/nocapture.20and.20allocation.20elimination. https://github.com/llvm/llvm-project/pull/110280