[all-commits] [llvm/llvm-project] 11b7ee: [AMDGPU] Avoid assert for saved FP
Stanislav Mekhanoshin via All-commits
all-commits at lists.llvm.org
Wed Aug 25 09:51:17 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 11b7ee974a69cabb379b12ce62a808594a53ef95
https://github.com/llvm/llvm-project/commit/11b7ee974a69cabb379b12ce62a808594a53ef95
Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: 2021-08-25 (Wed, 25 Aug 2021)
Changed paths:
M llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
A llvm/test/CodeGen/AMDGPU/save-fp.ll
Log Message:
-----------
[AMDGPU] Avoid assert for saved FP
With spilling into AGPRs enabled we cannot reliably predict
if we need to save FP or not. We may finally spill everything
into AGPRs and never touch stack. In this case we still may
save FP. This is deficiency but not an error, so avoid the
assert.
Differential Revision: https://reviews.llvm.org/D107404
More information about the All-commits
mailing list