[all-commits] [llvm/llvm-project] 268def: [CodeGen][NewPM] Port RegAllocGreedy to NPM

Akshat Oke via All-commits all-commits at lists.llvm.org
Thu Feb 20 02:01:54 PST 2025


  Branch: refs/heads/users/Akshat-Oke/12-11-_regalloc_newpm_plug_greedy_ra_in_codegen_pipeline
  Home:   https://github.com/llvm/llvm-project
  Commit: 268def27f5053b3a7795443990c54c9ddaec24ab
      https://github.com/llvm/llvm-project/commit/268def27f5053b3a7795443990c54c9ddaec24ab
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-20 (Thu, 20 Feb 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineFunction.h
    M llvm/include/llvm/CodeGen/Passes.h
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/Passes/MachinePassRegistry.def
    M llvm/lib/CodeGen/CodeGen.cpp
    M llvm/lib/CodeGen/RegAllocGreedy.cpp
    M llvm/lib/CodeGen/RegAllocGreedy.h
    M llvm/lib/Passes/PassBuilder.cpp

  Log Message:
  -----------
  [CodeGen][NewPM] Port RegAllocGreedy to NPM


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

  Changed paths:
    A llvm/include/llvm/CodeGen/RegAllocGreedyPass.h
    M llvm/include/llvm/Passes/CodeGenPassBuilder.h
    M llvm/include/llvm/Passes/MachinePassRegistry.def
    M llvm/lib/CodeGen/RegAllocGreedy.cpp

  Log Message:
  -----------
  Move pass to a new header, add options


  Commit: 3c06c54e2bcda0e59ccb327a58506480787ff111
      https://github.com/llvm/llvm-project/commit/3c06c54e2bcda0e59ccb327a58506480787ff111
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-20 (Thu, 20 Feb 2025)

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

  Log Message:
  -----------
  Move VRM after LiveIntervals


  Commit: 246b37fc3f0a97fcfa92c9e64b2815f6edffc3d9
      https://github.com/llvm/llvm-project/commit/246b37fc3f0a97fcfa92c9e64b2815f6edffc3d9
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-20 (Thu, 20 Feb 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineFunction.h
    M llvm/include/llvm/Passes/MachinePassRegistry.def
    M llvm/lib/CodeGen/RegAllocGreedy.cpp

  Log Message:
  -----------
  AS: Rename to greedy, CFG obviation, comment fix


  Commit: 72e96a2d19b9471bb8b49ff5d03d591bd9b9028e
      https://github.com/llvm/llvm-project/commit/72e96a2d19b9471bb8b49ff5d03d591bd9b9028e
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-20 (Thu, 20 Feb 2025)

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

  Log Message:
  -----------
  AS, remove setAnlayses and use constructor itself


  Commit: 249eb1f933ccf754617539beaede0d6f8e362cc3
      https://github.com/llvm/llvm-project/commit/249eb1f933ccf754617539beaede0d6f8e362cc3
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-20 (Thu, 20 Feb 2025)

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

  Log Message:
  -----------
  remove setAnalyses()


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

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

  Log Message:
  -----------
  keep pass name same as legacy (greedy)


  Commit: 7ea196dd16d5d8aa3a8701fb98f5f9c51ffebacf
      https://github.com/llvm/llvm-project/commit/7ea196dd16d5d8aa3a8701fb98f5f9c51ffebacf
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-20 (Thu, 20 Feb 2025)

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

  Log Message:
  -----------
  Set analyses in constructors


  Commit: 0d08e55c89219e2e07db5e7617717fa0d61283a6
      https://github.com/llvm/llvm-project/commit/0d08e55c89219e2e07db5e7617717fa0d61283a6
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-20 (Thu, 20 Feb 2025)

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

  Log Message:
  -----------
  Move RequiredAnalyses and correct preserved analyses


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

  Changed paths:
    M llvm/include/llvm/Passes/CodeGenPassBuilder.h
    M llvm/include/llvm/Passes/MachinePassRegistry.def
    M llvm/include/llvm/Target/CGPassBuilderOption.h
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/test/CodeGen/AArch64/implicit-def-remat-requires-impdef-check.mir
    M llvm/test/CodeGen/AArch64/implicit-def-with-impdef-greedy-assert.mir
    M llvm/test/CodeGen/AArch64/pr51516.mir
    M llvm/test/CodeGen/AArch64/spill-fold.mir
    M llvm/test/CodeGen/MIR/Generic/runPass.mir
    M llvm/test/CodeGen/SystemZ/clear-liverange-spillreg.mir
    M llvm/test/CodeGen/Thumb/high-reg-clobber.mir
    M llvm/test/CodeGen/X86/limit-split-cost.mir
    M llvm/tools/llc/NewPMDriver.cpp

  Log Message:
  -----------
  [CodeGen][NewPM] Plug greedy RA in codegen pipeline


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

  Changed paths:
    M llvm/include/llvm/Passes/CodeGenPassBuilder.h
    M llvm/lib/Passes/PassBuilder.cpp

  Log Message:
  -----------
  review


  Commit: 613d6ca5a7048e6f62fd8172c0fe23fa60940809
      https://github.com/llvm/llvm-project/commit/613d6ca5a7048e6f62fd8172c0fe23fa60940809
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-20 (Thu, 20 Feb 2025)

  Changed paths:
    M llvm/lib/Passes/PassBuilder.cpp

  Log Message:
  -----------
  if body single statement


  Commit: 2f670958a111862ba5cb375a241f5c59b252d30f
      https://github.com/llvm/llvm-project/commit/2f670958a111862ba5cb375a241f5c59b252d30f
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-20 (Thu, 20 Feb 2025)

  Changed paths:
    M llvm/include/llvm/Target/CGPassBuilderOption.h
    A llvm/test/tools/llc/new-pm/x86_64-regalloc-pipeline.mir
    M llvm/tools/llc/NewPMDriver.cpp

  Log Message:
  -----------
  Refactor RegAllocType cl option to use a custom parser

This will allow -sgpr-regalloc-npm=greedy to reuse the same parser.


  Commit: 9b4d0f57a8eee7770fcf2a543849e4a5532394b4
      https://github.com/llvm/llvm-project/commit/9b4d0f57a8eee7770fcf2a543849e4a5532394b4
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-20 (Thu, 20 Feb 2025)

  Changed paths:
    M llvm/include/llvm/Passes/MachinePassRegistry.def
    M llvm/test/tools/llc/new-pm/x86_64-regalloc-pipeline.mir

  Log Message:
  -----------
  AS


  Commit: 1e1e4a73640d11fbc0a8927fef369b29fe5af22d
      https://github.com/llvm/llvm-project/commit/1e1e4a73640d11fbc0a8927fef369b29fe5af22d
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-02-20 (Thu, 20 Feb 2025)

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

  Log Message:
  -----------
  clang-format diff main


Compare: https://github.com/llvm/llvm-project/compare/3f237ec61ecc...1e1e4a73640d

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