[llvm] [Scalar] Avoid repeated hash lookups (NFC) (PR #136264)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 18 12:00:19 PDT 2025
================
@@ -3327,7 +3327,7 @@ static void computeLiveInValues(DominatorTree &DT, Function &F,
Data.LiveOut[BB] = LiveOut;
// Apply the effects of this basic block
- SetVector<Value *> LiveTmp = LiveOut;
+ SetVector<Value *> LiveTmp = std::move(LiveOut);
----------------
kazutakahirata wrote:
@nikic Done. I've updated the title. Please take a look. Thanks!
https://github.com/llvm/llvm-project/pull/136264
More information about the llvm-commits
mailing list