[all-commits] [llvm/llvm-project] 89308d: [llvm] Value-initialize values with *Map::try_empl...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Mon May 26 15:13:24 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 89308de4b0f4f20c685c6d9cecd6dabe117080b4
      https://github.com/llvm/llvm-project/commit/89308de4b0f4f20c685c6d9cecd6dabe117080b4
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-05-26 (Mon, 26 May 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/DebugHandlerBase.h
    M llvm/include/llvm/SandboxIR/Context.h
    M llvm/include/llvm/Transforms/Instrumentation/CFGMST.h
    M llvm/lib/Analysis/BasicAliasAnalysis.cpp
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    M llvm/lib/Analysis/MemorySSA.cpp
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/MIRParser/MIParser.cpp
    M llvm/lib/IR/Constants.cpp
    M llvm/lib/Object/ELF.cpp
    M llvm/lib/SandboxIR/Context.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
    M llvm/lib/TextAPI/RecordsSlice.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
    M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
    M llvm/lib/Transforms/Scalar/NewGVN.cpp
    M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

  Log Message:
  -----------
  [llvm] Value-initialize values with *Map::try_emplace (NFC) (#141522)

try_emplace value-initializes values, so we do not need to pass
nullptr to try_emplace when the value types are raw pointers or
std::unique_ptr<T>.



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