commit | 98ebb64a1639fa20e2cfa44bc796dfc28db1f691 | [log] [tgz] |
---|---|---|
author | Abhishek Kaushik <abhishek.kaushik@intel.com> | Thu Sep 18 02:10:41 2025 -0700 |
committer | GitHub <noreply@github.com> | Thu Sep 18 14:40:41 2025 +0530 |
tree | debaf1ac487455b6d1ac0b4bc525c736de749ae2 | |
parent | 18630b0633bd550ad6675e155f42365ae42eb919 [diff] |
[NFC][MIRPrinter] Use `std::move` to avoid copy (#157832)
diff --git a/llvm/lib/CodeGen/MIRPrinter.cpp b/llvm/lib/CodeGen/MIRPrinter.cpp index 7cc9192..91a21a4 100644 --- a/llvm/lib/CodeGen/MIRPrinter.cpp +++ b/llvm/lib/CodeGen/MIRPrinter.cpp
@@ -627,7 +627,7 @@ StrOS << printMBBReference(*MBB); Entry.Point = StrOS.str().str(); Str.clear(); - YamlSRPoints.push_back(Entry); + YamlSRPoints.push_back(std::move(Entry)); } }