[llvm] [AVR] Support stack realignment (PR #187129)

Patryk Wychowaniec via llvm-commits llvm-commits at lists.llvm.org
Sun May 10 15:46:30 PDT 2026


Patryk27 wrote:

I've just pushed an update with improved algorithm - still have to address your comments, but now more examples compile, e.g. this one:
```
void fun(void* a) {
  alignas(32) void (*b)(void*) = a;

  b(&b);
  b(&b);
}
```
... and that example of yours now work (at least without `-O3` - for some reason it still crashes with optimizations enabled).

So tl;dr nothing new to review per se, just committing a slightly better version.

https://github.com/llvm/llvm-project/pull/187129


More information about the llvm-commits mailing list