[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 23:06:27 PST 2024


================
@@ -6824,7 +6824,7 @@ SDValue SelectionDAG::FoldConstantArithmetic(unsigned Opcode, const SDLoc &DL,
             continue;
           }
           APInt Val = cast<ConstantSDNode>(Op)->getAPIntValue();
----------------
abhishek-kaushik22 wrote:

Done. Thanks.

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


More information about the llvm-commits mailing list