[all-commits] [llvm/llvm-project] 53a059: [PassInstrumentation] Use DenseMap to store class-...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Jun 21 03:23:39 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 53a059ca76b0a6a0dff731e5acc7d51e5a62546c
      https://github.com/llvm/llvm-project/commit/53a059ca76b0a6a0dff731e5acc7d51e5a62546c
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-21 (Fri, 21 Jun 2024)

  Changed paths:
    M llvm/include/llvm/IR/PassInstrumentation.h

  Log Message:
  -----------
  [PassInstrumentation] Use DenseMap to store class->pass map (NFC)

It's okay to store the StringRef for the class name without
creating a separate copy inside the map, so use DenseMap instead
of StringMap.



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