[all-commits] [llvm/llvm-project] 58f289: [XRay] Use DenseMap::{operator[], try_emplace} (NFC...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Wed Sep 4 02:09:42 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 58f289612f1959256fa2228f013cfe96304b45c4
https://github.com/llvm/llvm-project/commit/58f289612f1959256fa2228f013cfe96304b45c4
Author: Kazu Hirata <kazu at google.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M llvm/include/llvm/XRay/Graph.h
Log Message:
-----------
[XRay] Use DenseMap::{operator[],try_emplace} (NFC) (#107178)
I'm planning to deprecate DenseMap::FindAndConstruct in favor of
operator[]. I'm using try_emplace because "Vertices[I.first];" on its
own might look like a nop statement.
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