[all-commits] [llvm/llvm-project] 1ca080: GlobalISel: Don't expand stacksave/stackrestore in...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Aug 9 15:43:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ca0808db2c6393f4a79dcb57b89627eeefffffc
      https://github.com/llvm/llvm-project/commit/1ca0808db2c6393f4a79dcb57b89627eeefffffc
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-08-09 (Wed, 09 Aug 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
    M llvm/include/llvm/Support/TargetOpcodes.def
    M llvm/include/llvm/Target/GenericOpcodes.td
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    M llvm/lib/Target/X86/X86LegalizerInfo.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
    A llvm/test/CodeGen/AArch64/GlobalISel/stacksave-stackrestore.ll
    A llvm/test/CodeGen/X86/GlobalISel/stacksave-stackrestore.ll

  Log Message:
  -----------
  GlobalISel: Don't expand stacksave/stackrestore in IRTranslator

In some (likely invalid edge cases anyway), it's not correct to
directly copy the stack pointer register.


  Commit: 58e87c961e6e985224ee2ddb62e832a3c0ffd70a
      https://github.com/llvm/llvm-project/commit/58e87c961e6e985224ee2ddb62e832a3c0ffd70a
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-08-09 (Wed, 09 Aug 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPU.h
    M llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/test/CodeGen/AMDGPU/lower-kernargs.ll

  Log Message:
  -----------
  AMDGPU: Port AMDGPULowerKernelArguments to new pass manager

https://reviews.llvm.org/D157498


Compare: https://github.com/llvm/llvm-project/compare/25bc999d1fb2...58e87c961e6e


More information about the All-commits mailing list