[llvm] [CGData][GlobalIsel][Legalizer][DAG][MC][AsmParser][X86][AMX] Use `std::move` to avoid copy (PR #118068)

via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 4 22:50:09 PST 2024


================
@@ -42,8 +42,8 @@ struct StableFunction {
   StableFunction(stable_hash Hash, const std::string FunctionName,
                  const std::string ModuleName, unsigned InstCount,
----------------
abhishek-kaushik22 wrote:

I've opened a new PR https://github.com/llvm/llvm-project/pull/118749 for the change, I'll remove the move from here as they are not required now.

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


More information about the llvm-commits mailing list