[all-commits] [llvm/llvm-project] ce2c4e: [Analysis] Avoid repeated hash lookups (NFC) (#132...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sun Mar 23 07:36:40 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce2c4ea658239771dec542249a77dcf2056d8b8a
      https://github.com/llvm/llvm-project/commit/ce2c4ea658239771dec542249a77dcf2056d8b8a
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-03-23 (Sun, 23 Mar 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/InstructionPrecedenceTracking.h
    M llvm/lib/Analysis/InstructionPrecedenceTracking.cpp

  Log Message:
  -----------
  [Analysis] Avoid repeated hash lookups (NFC) (#132584)

FirstSpecialInsts caches the first special instruction for each basic
block.  This patch "inlines" fill into getFirstSpecialInstruction, the
sole caller, to eliminate repeated hash lookups.



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