[all-commits] [llvm/llvm-project] b04435: [CodeGen] Avoid repeated hash lookups (NFC) (#128126)

Kazu Hirata via All-commits all-commits at lists.llvm.org
Fri Feb 21 11:07:33 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0443507014273bb95eb90af0f9859a8fa3111c9
      https://github.com/llvm/llvm-project/commit/b0443507014273bb95eb90af0f9859a8fa3111c9
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-02-21 (Fri, 21 Feb 2025)

  Changed paths:
    M llvm/lib/CodeGen/FixupStatepointCallerSaved.cpp

  Log Message:
  -----------
  [CodeGen] Avoid repeated hash lookups (NFC) (#128126)

This patch eliminates repeated hash lookups at three levels:

- RegToSlotIdx  of DenseMap
- Reloads       of DenseMap
- Reloads[MBB]  of SmallSet



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