[all-commits] [llvm/llvm-project] 5cac27: [LoongArch] Add `-fstack-clash-protection` support...
CSharperMantle via All-commits
all-commits at lists.llvm.org
Thu May 28 04:37:35 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5cac2751fb9cf3112d16717b278e40d07dd6cfdc
https://github.com/llvm/llvm-project/commit/5cac2751fb9cf3112d16717b278e40d07dd6cfdc
Author: Rong "Mantle" Bao <rong.bao at csmantle.top>
Date: 2026-05-28 (Thu, 28 May 2026)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/CodeGen/stack-clash-protection.c
M llvm/lib/Target/LoongArch/LoongArchFrameLowering.cpp
M llvm/lib/Target/LoongArch/LoongArchFrameLowering.h
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
M llvm/lib/Target/LoongArch/LoongArchMachineFunctionInfo.h
M llvm/test/CodeGen/LoongArch/inline-asm-constraint-f.ll
A llvm/test/CodeGen/LoongArch/stack-clash-prologue-nounwind.ll
A llvm/test/CodeGen/LoongArch/stack-clash-prologue.ll
A llvm/test/CodeGen/LoongArch/stack-probing-dynamic-nonentry.ll
A llvm/test/CodeGen/LoongArch/stack-probing-dynamic.ll
A llvm/test/CodeGen/LoongArch/stack-probing-frame-setup.mir
Log Message:
-----------
[LoongArch] Add `-fstack-clash-protection` support (#195595)
This PR adds stack probing and `-fstack-clash-protection` support to the
LoongArch backend and Clang driver.
The implementation is largely borrowed from the RISCV backend (cf.
#117612, #139731), with the same allocation-unrolling strategy for
const-sized allocations.
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