[llvm] [perf] Replace copy-assign by move-assign in llvm/lib/MC/* (PR #178176)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 27 07:46:42 PST 2026


================
@@ -212,7 +212,7 @@ struct FieldInfo {
 StructFieldInfo::StructFieldInfo(std::vector<StructInitializer> V,
                                  StructInfo S) {
----------------
RKSimon wrote:

A lot of the other structs in this file passes by rvalue - why doesn't StructFieldInfo?

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


More information about the llvm-commits mailing list