[all-commits] [llvm/llvm-project] c825c8: [SLP][NFC] Simplify `insert(std::make_pair(K, V))`...

Piotr Fusik via All-commits all-commits at lists.llvm.org
Mon Aug 25 21:28:27 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c825c8a052923868922de5daffc3018b82724367
      https://github.com/llvm/llvm-project/commit/c825c8a052923868922de5daffc3018b82724367
  Author: Piotr Fusik <p.fusik at samsung.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLP][NFC] Simplify `insert(std::make_pair(K, V))` -> `try_emplace(K, V)` (#155233)

These are equivalent as `MapVector::insert` simply calls
`MapVector::try_emplace`.

BTW, correct a comment typo.



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