https://bugs.llvm.org/show_bug.cgi?id=36459
Bug ID: 36459
Summary: MIR: Stack object without alignment causes div by 0 in
estimateStackSize
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: AArch64
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Created attachment 19916
--> https://bugs.llvm.org/attachment.cgi?id=19916&action=edit
mir-crash
The parser accepts it as the alignment is not mandatory.
We should come up with some default alignment or something similar.
AArch64FrameLowering::determineCalleeSaves
MachineFrameInfo::estimateStackSize
-> 153 Offset = (Offset+Align-1)/Align*Align;
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs