[all-commits] [llvm/llvm-project] 99c9e5: [Hexagon] Fix signed constant creation in EmitVAAr...
Brian Cain via All-commits
all-commits at lists.llvm.org
Wed Feb 11 05:20:05 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 99c9e5ebd6c7c5564190133b3171b53f17b7f3f8
https://github.com/llvm/llvm-project/commit/99c9e5ebd6c7c5564190133b3171b53f17b7f3f8
Author: Brian Cain <brian.cain at oss.qualcomm.com>
Date: 2026-02-11 (Wed, 11 Feb 2026)
Changed paths:
M clang/lib/CodeGen/Targets/Hexagon.cpp
M clang/test/CodeGen/hexagon-linux-vararg.c
Log Message:
-----------
[Hexagon] Fix signed constant creation in EmitVAArgFromMemory (#180385)
Use ConstantInt::getSigned instead of ConstantInt::get when creating a
negative alignment mask in EmitVAArgFromMemory. This is the same fix as
commit 8546294db95d (PR #176115) which addressed the issue in
EmitVAArgForHexagonLinux.
Added a test case that exercises the EmitVAArgFromMemory alignment path
using a struct that is both >8 bytes (to trigger EmitVAArgFromMemory)
and has 8-byte alignment (to trigger the alignment masking code).
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