[llvm] [WIP][SPARC] Allow overaligned `alloca`s (PR #107223)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 4 05:10:53 PDT 2024
================
@@ -35,7 +35,8 @@ DisableLeafProc("disable-sparc-leaf-proc",
SparcFrameLowering::SparcFrameLowering(const SparcSubtarget &ST)
: TargetFrameLowering(TargetFrameLowering::StackGrowsDown,
ST.is64Bit() ? Align(16) : Align(8), 0,
- ST.is64Bit() ? Align(16) : Align(8)) {}
+ ST.is64Bit() ? Align(16) : Align(8),
+ /* StackRealignable */ false) {}
----------------
s-barannikov wrote:
The conventional style is:
```suggestion
/*StackRealignable=*/false) {}
```
https://github.com/llvm/llvm-project/pull/107223
More information about the llvm-commits
mailing list