[llvm] [X86][NFC] Use std::move to avoid copy (PR #141455)

Abhishek Kaushik via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 22 00:24:09 PDT 2025


================
@@ -41193,7 +41193,7 @@ static SDValue combineX86ShufflesRecursively(
     resolveTargetShuffleFromZeroables(OpMask, OpUndef, OpZero,
                                       ResolveKnownZeros);
 
-    Mask = OpMask;
+    Mask = std::move(OpMask);
----------------
abhishek-kaushik22 wrote:

Sorry, I have reverted this.

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


More information about the llvm-commits mailing list