Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIR: Stack object without alignment causes div by 0 in estimateStackSize #35807

Open
francisvm opened this issue Feb 20, 2018 · 1 comment
Open
Labels
backend:AArch64 bugzilla Issues migrated from bugzilla

Comments

@francisvm
Copy link
Collaborator

Bugzilla Link 36459
Version trunk
OS All
Attachments mir-crash
CC @francisvm

Extended Description

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;

@francisvm
Copy link
Collaborator Author

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:AArch64 bugzilla Issues migrated from bugzilla
Projects
None yet
Development

No branches or pull requests

1 participant