[all-commits] [llvm/llvm-project] 947094: [CalcSpillWeights] Simplify copy hint register col...

Valery Pykhtin via All-commits all-commits at lists.llvm.org
Thu Nov 7 03:52:30 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9470945b6695cf526df9249c3787d225f95eaf03
      https://github.com/llvm/llvm-project/commit/9470945b6695cf526df9249c3787d225f95eaf03
  Author: Valery Pykhtin <valery.pykhtin at gmail.com>
  Date:   2024-11-07 (Thu, 07 Nov 2024)

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

  Log Message:
  -----------
  [CalcSpillWeights] Simplify copy hint register collection. NFC. (#114236)

CopyHints set has been collecting duplicates of a register with
increasing weight and then deduplicated with HintedRegs set. Let's stop
collecting duplicates at the first place.



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