Open matsc-at-sics-se opened 6 years ago
The bug is in Export/directFrame
. It assigns an unaligned offset to an object that requires align = 16
:
[...]
frame:
%stack.0: offset = 16, size = 24, align = 16
[...]
Output from directFrame:
[...]
frame:
%stack.0: offset = -40, size = 24, align = 16
[...]
Reproducer: spti_jit_start_end_helper.uni.txt
The
LEA64r
instruction is supposed to make a 16-aligned pointer, but does not.