diff options
author | Kazu Hirata <kazu@google.com> | 2024-09-24 22:53:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 22:53:16 -0700 |
commit | 915fe84c6d78f3c0268f3de571eb323304089d23 (patch) | |
tree | bfe11053084da4548f814def8d0e17f7132a8910 /llvm/lib/Support/APFloat.cpp | |
parent | e1365ce2220dade4e771881dcde9a7e0511ce451 (diff) | |
download | llvm-915fe84c6d78f3c0268f3de571eb323304089d23.zip llvm-915fe84c6d78f3c0268f3de571eb323304089d23.tar.gz llvm-915fe84c6d78f3c0268f3de571eb323304089d23.tar.bz2 |
[ctx_prof] Simplify ingestContext (NFC) (#109902)
try_emplace can default-construct the value, so:
try_emplace(CSId, CallTargetMapTy())
try_emplace(CSId)
are equivalent to each other. We can further simplify the function
using the fact that Map.try_emplace(Key).first->second is the same as
Map[Key].
Diffstat (limited to 'llvm/lib/Support/APFloat.cpp')
0 files changed, 0 insertions, 0 deletions