[all-commits] [llvm/llvm-project] 73d1e8: [CodeGen] Avoid repeated hash lookups (NFC) (#130237)

Hua Tian via All-commits all-commits at lists.llvm.org
Mon Apr 14 12:35:38 PDT 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 73d1e8598eda19be8edd9eaaefc091228c651217
      https://github.com/llvm/llvm-project/commit/73d1e8598eda19be8edd9eaaefc091228c651217
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-04-14 (Mon, 14 Apr 2025)

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

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

(cherry picked from commit 616f277640129ff37d4005737a62acbd60d06ca1)


  Commit: d88cd35023b42c436517e98d2a0f223394337332
      https://github.com/llvm/llvm-project/commit/d88cd35023b42c436517e98d2a0f223394337332
  Author: Hua Tian <akiratian at tencent.com>
  Date:   2025-04-14 (Mon, 14 Apr 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/ModuloSchedule.h
    M llvm/lib/CodeGen/ModuloSchedule.cpp
    A llvm/test/CodeGen/Hexagon/swp-ws-live-intervals-issue128714.mir

  Log Message:
  -----------
  [llvm][CodeGen] Fix the empty interval issue in Window Scheduler (#129204)

The interval of newly generated reg in ModuloScheduleExpander is empty.
This will cause crash at some corner case. This patch recalculate the
live intervals of these regs.

(cherry picked from commit b09b9ac1081d19c8021df8e55e96cd1325f0eed0)


  Commit: a141e58685fd8d07b13751dcce0d2fca27b93848
      https://github.com/llvm/llvm-project/commit/a141e58685fd8d07b13751dcce0d2fca27b93848
  Author: Hua Tian <akiratian at tencent.com>
  Date:   2025-04-14 (Mon, 14 Apr 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/ModuloSchedule.h
    M llvm/lib/CodeGen/ModuloSchedule.cpp
    A llvm/test/CodeGen/AArch64/aarch64-swp-ws-live-intervals.mir

  Log Message:
  -----------
  [llvm][CodeGen] avoid repeated interval calculation in window scheduler (#132352)

Some new registers are reused when replacing some old ones in
certain use case of ModuloScheduleExpander. It is necessary to
avoid repeated interval calculations for these registers.

(cherry picked from commit 7e65944292278cc245e36cc6ca971654d584012d)


Compare: https://github.com/llvm/llvm-project/compare/7034995f1029...a141e58685fd

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