[all-commits] [llvm/llvm-project] ee779d: [SPARC] use `divideCeil` to calculate register off...
Folkert de Vries via All-commits
all-commits at lists.llvm.org
Wed Aug 5 05:37:03 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ee779de847774cc935ec089ebb6185c790aedcf7
https://github.com/llvm/llvm-project/commit/ee779de847774cc935ec089ebb6185c790aedcf7
Author: Folkert de Vries <folkert at folkertdev.nl>
Date: 2026-08-05 (Wed, 05 Aug 2026)
Changed paths:
M clang/include/clang/CodeGen/CGFunctionInfo.h
M clang/lib/CodeGen/Targets/Sparc.cpp
M clang/test/CodeGen/Sparc/sparcv9-abi.c
Log Message:
-----------
[SPARC] use `divideCeil` to calculate register offset (#213739)
So that later arguments get the correct register alignment
https://godbolt.org/z/oaEf4Thvx
On current clang the aligned struct starts in `o1`, but with GCC it is
aligned and starts in `o2`. In practice I think only `float` could hit
this (not an int, not an aggregate, smaller than 64 bits).
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