[all-commits] [llvm/llvm-project] 9a53f5: AMDGPU: Handle llvm.stacksave and llvm.stackrestore
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Fri Aug 11 07:25:19 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9a53f5f5c466b8d2a63827ec33dd97e4333db6ce
https://github.com/llvm/llvm-project/commit/9a53f5f5c466b8d2a63827ec33dd97e4333db6ce
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2023-08-11 (Fri, 11 Aug 2023)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
M llvm/docs/ReleaseNotes.rst
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.h
A llvm/test/CodeGen/AMDGPU/stacksave_stackrestore.invalid.ll
A llvm/test/CodeGen/AMDGPU/stacksave_stackrestore.ll
Log Message:
-----------
AMDGPU: Handle llvm.stacksave and llvm.stackrestore
Not sure if the only valid use is to have stackrestore directly
consume stacksave outputs or not. Handled exactly like a regular stack
pointer so all the edge cases theoretically should work.
https://reviews.llvm.org/D156669
Commit: 1030483561d6abf0a160bca324509d0c7ef4e398
https://github.com/llvm/llvm-project/commit/1030483561d6abf0a160bca324509d0c7ef4e398
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2023-08-11 (Fri, 11 Aug 2023)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
A llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-stacksave-stackrestore.invalid.mir
A llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-stacksave-stackrestore.mir
M llvm/test/CodeGen/AMDGPU/stacksave_stackrestore.invalid.ll
Log Message:
-----------
AMDGPU/GlobalISel: Handle stacksave/stackrestore
https://reviews.llvm.org/D156670
Compare: https://github.com/llvm/llvm-project/compare/afff91de082d...1030483561d6
More information about the All-commits
mailing list