[llvm] [NFC][RABasic] Use `std::move` to avoid copy (PR #157825)

Abhishek Kaushik via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 10 04:35:33 PDT 2025


abhishek-kaushik22 wrote:

> Can't we make RegAllocFilterFunc a raw function pointer instead? I think none of the users require captures and std::function is inefficient.

I will try and update here. Thanks!

https://github.com/llvm/llvm-project/pull/157825


More information about the llvm-commits mailing list