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

via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 27 08:21:37 PST 2026


================
@@ -656,11 +656,10 @@ bool RecurrenceDescriptor::AddReductionVar(
   // is saved as part of the RecurrenceDescriptor.
 
   // Save the description of this reduction variable.
-  RecurrenceDescriptor RD(RdxStart, ExitInstruction, IntermediateStore, Kind,
-                          FMF, ExactFPMathInst, RecurrenceType, IsSigned,
-                          IsOrdered, CastInsts, MinWidthCastToRecurrenceType);
-  RedDes = RD;
-
+  ResDes = RecurrenceDescriptor RD(RdxStart, ExitInstruction, IntermediateStore,
----------------
serge-sans-paille wrote:

oopsie, sorry for that.

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


More information about the llvm-commits mailing list