[all-commits] [llvm/llvm-project] 101945: [CodeGen] Use *Set::insert_range (NFC) (#132651)
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Sun Mar 23 21:21:05 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1019457891fda0b2f32f50ba99d6a261df12ec08
https://github.com/llvm/llvm-project/commit/1019457891fda0b2f32f50ba99d6a261df12ec08
Author: Kazu Hirata <kazu at google.com>
Date: 2025-03-23 (Sun, 23 Mar 2025)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/GlobalISel/LoadStoreOpt.cpp
M llvm/lib/CodeGen/IfConversion.cpp
M llvm/lib/CodeGen/IndirectBrExpandPass.cpp
M llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
M llvm/lib/CodeGen/LiveVariables.cpp
M llvm/lib/CodeGen/MachinePipeliner.cpp
M llvm/lib/CodeGen/MachineVerifier.cpp
M llvm/lib/CodeGen/SjLjEHPrepare.cpp
Log Message:
-----------
[CodeGen] Use *Set::insert_range (NFC) (#132651)
We can use *Set::insert_range to collapse:
for (auto Elem : Range)
Set.insert(E);
down to:
Set.insert_range(Range);
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list