julia
54fde7e0 - llvm: Fix alloca alignment and type selection in AllocOpt (#60699)

Commit
108 days ago
llvm: Fix alloca alignment and type selection in AllocOpt (#60699) Inherit alignment from the original GC allocation with JL_SMALL_BYTE_ALIGNMENT as the minimum. Use alignment-sized integer chunks for the alloca type (matching emit_static_alloca) so SROA splits allocations into aligned pieces for better performance and vectorization. Also adds the missing setAlignment call in splitOnStack. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Author
Parents
Loading