[all-commits] [llvm/llvm-project] c88708: [CodeGen][NewPM] Port RegAllocEvictionAdvisor anal...

Akshat Oke via All-commits all-commits at lists.llvm.org
Tue Feb 18 02:16:49 PST 2025


  Branch: refs/heads/users/Akshat-Oke/11-22-_codegen_newpm_port_regallocevictionadvisor_analysis_to_npm
  Home:   https://github.com/llvm/llvm-project
  Commit: c8870815d7fed09f87b45a548996a85f946ae931
      https://github.com/llvm/llvm-project/commit/c8870815d7fed09f87b45a548996a85f946ae931
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    A llvm/include/llvm/CodeGen/RegAllocEvictionAdvisor.h
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/Passes/CodeGenPassBuilder.h
    M llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
    M llvm/lib/CodeGen/RegAllocEvictionAdvisor.cpp
    R llvm/lib/CodeGen/RegAllocEvictionAdvisor.h
    M llvm/lib/CodeGen/RegAllocGreedy.cpp
    M llvm/lib/CodeGen/RegAllocGreedy.h
    M llvm/lib/CodeGen/RegAllocPriorityAdvisor.h
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassRegistry.def

  Log Message:
  -----------
  [CodeGen][NewPM] Port RegAllocEvictionAdvisor analysis to NPM


  Commit: 79d4fa4edda3ed29779a4932c54182936c18ee99
      https://github.com/llvm/llvm-project/commit/79d4fa4edda3ed29779a4932c54182936c18ee99
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/RegAllocEvictionAdvisor.h
    M llvm/include/llvm/Passes/CodeGenPassBuilder.h
    M llvm/include/llvm/Passes/MachinePassRegistry.def
    M llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
    M llvm/lib/CodeGen/RegAllocEvictionAdvisor.cpp
    M llvm/lib/Passes/PassRegistry.def

  Log Message:
  -----------
  Remove Provider::doInit, change to MF analysis

init is in the constructor. The new MF analysis lazily intiailizes the
provider. The (wrapped) provider is the analysis result.


  Commit: 900a84f20af15b2b9b6eecb28ba1f0bd9c1dd74c
      https://github.com/llvm/llvm-project/commit/900a84f20af15b2b9b6eecb28ba1f0bd9c1dd74c
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

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

  Log Message:
  -----------
  Remove parenthesis


  Commit: 7949228e830783061e66dc8df4c8539833545794
      https://github.com/llvm/llvm-project/commit/7949228e830783061e66dc8df4c8539833545794
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/RegAllocEvictionAdvisor.h
    M llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp

  Log Message:
  -----------
  Add TODO to remove provider, remove paren


  Commit: 4b0b58fb469524cb0a2b34747f6764c64cf03ab8
      https://github.com/llvm/llvm-project/commit/4b0b58fb469524cb0a2b34747f6764c64cf03ab8
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/RegAllocEvictionAdvisor.h
    M llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
    M llvm/lib/CodeGen/RegAllocEvictionAdvisor.cpp

  Log Message:
  -----------
  Remove createProvider*(), add new method in ML.cpp


  Commit: ef2ab437333b93a7b5eefb53777abc7149b264a7
      https://github.com/llvm/llvm-project/commit/ef2ab437333b93a7b5eefb53777abc7149b264a7
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/RegAllocEvictionAdvisor.h
    M llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
    M llvm/lib/CodeGen/RegAllocEvictionAdvisor.cpp
    M llvm/lib/CodeGen/RegAllocGreedy.cpp

  Log Message:
  -----------
  Use the provider as analysis result


  Commit: 27836836d030df3183b706bb0a23bd90e2af71ae
      https://github.com/llvm/llvm-project/commit/27836836d030df3183b706bb0a23bd90e2af71ae
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/RegAllocEvictionAdvisor.h
    M llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
    M llvm/lib/CodeGen/RegAllocEvictionAdvisor.cpp
    M llvm/lib/CodeGen/RegAllocGreedy.cpp

  Log Message:
  -----------
  Remove setAnalyses(); pass analysis in getAdvisor


  Commit: e54f2e511a9bc9e843c03ea0a164c4b36c5f65e6
      https://github.com/llvm/llvm-project/commit/e54f2e511a9bc9e843c03ea0a164c4b36c5f65e6
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/RegAllocEvictionAdvisor.h
    M llvm/lib/CodeGen/RegAllocGreedy.cpp

  Log Message:
  -----------
  Apply suggestions


  Commit: 4e81b5b0b44de76465488cfb0110b3b945a4fd05
      https://github.com/llvm/llvm-project/commit/4e81b5b0b44de76465488cfb0110b3b945a4fd05
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/RegAllocEvictionAdvisor.h
    M llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
    M llvm/lib/CodeGen/RegAllocEvictionAdvisor.cpp

  Log Message:
  -----------
  Remove initializeMLProvider


  Commit: 8ee18ab22cb3a3ed7d41719bd41c387326093cbb
      https://github.com/llvm/llvm-project/commit/8ee18ab22cb3a3ed7d41719bd41c387326093cbb
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/RegAllocEvictionAdvisor.h
    M llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
    M llvm/lib/CodeGen/RegAllocEvictionAdvisor.cpp

  Log Message:
  -----------
  address reviews, use #else


  Commit: ebb6a59e6a33a6235c4dcf8dece282f7edd9e89d
      https://github.com/llvm/llvm-project/commit/ebb6a59e6a33a6235c4dcf8dece282f7edd9e89d
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

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

  Log Message:
  -----------
  Apply AS, remove dead assert


  Commit: 112159444a3b633090c63f77ddb07c01fa909e98
      https://github.com/llvm/llvm-project/commit/112159444a3b633090c63f77ddb07c01fa909e98
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

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

  Log Message:
  -----------
  simplify switch case with return


  Commit: 46843235172898f240adfbbdd458fd0b994a6bcb
      https://github.com/llvm/llvm-project/commit/46843235172898f240adfbbdd458fd0b994a6bcb
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

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

  Log Message:
  -----------
  remove dead return


  Commit: ae4a2495b02ba1930eaa22466308e072c3f812cf
      https://github.com/llvm/llvm-project/commit/ae4a2495b02ba1930eaa22466308e072c3f812cf
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/RegAllocEvictionAdvisor.h

  Log Message:
  -----------
  Simplify invalidate as the provider does not store analyses.


Compare: https://github.com/llvm/llvm-project/compare/c3c3b23ed67e...ae4a2495b02b

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