[all-commits] [llvm/llvm-project] 23d209: [SPARC] Allow overaligned `alloca`s (#107223)
Koakuma via All-commits
all-commits at lists.llvm.org
Sun Nov 3 07:53:24 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 23d209f350f4e51b2a42636ce45d10c6e208252d
https://github.com/llvm/llvm-project/commit/23d209f350f4e51b2a42636ce45d10c6e208252d
Author: Koakuma <koachan at protonmail.com>
Date: 2024-11-03 (Sun, 03 Nov 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/alloca_vla_interact.cpp
M llvm/lib/Target/Sparc/SparcFrameLowering.cpp
M llvm/lib/Target/Sparc/SparcISelLowering.cpp
M llvm/lib/Target/Sparc/SparcRegisterInfo.cpp
M llvm/lib/Target/Sparc/SparcRegisterInfo.h
M llvm/test/CodeGen/Generic/ForceStackAlign.ll
M llvm/test/CodeGen/SPARC/2013-05-17-CallFrame.ll
A llvm/test/CodeGen/SPARC/alloca-align.ll
R llvm/test/CodeGen/SPARC/fail-alloca-align.ll
M llvm/test/CodeGen/SPARC/fp128.ll
M llvm/test/CodeGen/SPARC/stack-align.ll
Log Message:
-----------
[SPARC] Allow overaligned `alloca`s (#107223)
SPARC ABI doesn't use stack realignment, so let LLVM know about it in
`SparcFrameLowering`. This has the side effect of making all overaligned
allocations go through `LowerDYNAMIC_STACKALLOC`, so implement the
missing logic there too for overaligned allocations.
This makes the SPARC backend not crash on overaligned `alloca`s and fix
https://github.com/llvm/llvm-project/issues/89569.
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