aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorRobert Imschweiler <robert.imschweiler@amd.com>2025-11-04 10:22:13 +0100
committerGitHub <noreply@github.com>2025-11-04 10:22:13 +0100
commitc02bdd466a1c22221bc6de3b6817945c90979351 (patch)
tree50c2ca9283172dc5e35664d9b7062b0bce177674 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentf74e90961f51c9437461007c89b037be41e4e887 (diff)
downloadllvm-c02bdd466a1c22221bc6de3b6817945c90979351.zip
llvm-c02bdd466a1c22221bc6de3b6817945c90979351.tar.gz
llvm-c02bdd466a1c22221bc6de3b6817945c90979351.tar.bz2
[AMDGPU] Fix handling of FP in cs.chain functions (#161194)
In case there is an dynamic alloca / an alloca which is not in the entry block, cs.chain functions do not set up an FP, but are reported to need one. This results in a failed assertion in `SIFrameLowering::emitPrologue()` (Assertion `(!HasFP || FPSaved) && "Needed to save FP but didn't save it anywhere"' failed.) This commit changes `hasFPImpl` so that the need for an SP in a cs.chain function does not directly imply the need for an FP anymore. This LLVM defect was identified via the AMD Fuzzing project.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions