[all-commits] [llvm/llvm-project] a64bc1: [ValueMap] Simplify insert methods (NFC) (#200264)

Ramkumar Ramachandra via All-commits all-commits at lists.llvm.org
Fri May 29 06:11:51 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a64bc13adcb51db80dd1167ac0338cd6d9771720
      https://github.com/llvm/llvm-project/commit/a64bc13adcb51db80dd1167ac0338cd6d9771720
  Author: Ramkumar Ramachandra <artagnon at tenstorrent.com>
  Date:   2026-05-29 (Fri, 29 May 2026)

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

  Log Message:
  -----------
  [ValueMap] Simplify insert methods (NFC) (#200264)

The other methods cannot be simplified: the use of find_as() here is to
specifically avoid the construction of temporary CallbackVHs, which is
very expensive.



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