[llvm] 9e27fef - [AArch64] [test] Fix stack allocation instructions in the seh.s test
Martin Storsjö via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 2 03:35:50 PST 2025
Author: Martin Storsjö
Date: 2025-12-02T13:33:50+02:00
New Revision: 9e27fefc180da46bed8731cb19f542f1bd6f2ff4
URL: https://github.com/llvm/llvm-project/commit/9e27fefc180da46bed8731cb19f542f1bd6f2ff4
DIFF: https://github.com/llvm/llvm-project/commit/9e27fefc180da46bed8731cb19f542f1bd6f2ff4.diff
LOG: [AArch64] [test] Fix stack allocation instructions in the seh.s test
The actual unwind opcodes only stores stack increments in units
of 16 (which is what it is listed as in the unwind opcode
dumping by llvm-readobj); actually write what we intend to encode.
Added:
Modified:
llvm/test/MC/AArch64/seh.s
Removed:
################################################################################
diff --git a/llvm/test/MC/AArch64/seh.s b/llvm/test/MC/AArch64/seh.s
index ba2832cd6376f..55ebf07ae28a3 100644
--- a/llvm/test/MC/AArch64/seh.s
+++ b/llvm/test/MC/AArch64/seh.s
@@ -139,8 +139,8 @@
.endef
.seh_proc func
func:
- sub sp, sp, #24
- .seh_stackalloc 24
+ sub sp, sp, #16
+ .seh_stackalloc 16
mov x29, sp
.seh_set_fp
stp x29, x30, [sp, #-32]!
@@ -210,8 +210,8 @@ func:
.seh_endprologue
nop
.seh_startepilogue
- add sp, sp, #24
- .seh_stackalloc 24
+ add sp, sp, #16
+ .seh_stackalloc 16
.seh_endepilogue
ret
.seh_handler __C_specific_handler, @except
More information about the llvm-commits
mailing list