Skip to content

PR for llvm/llvm-project#66912 #722

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

Merged
merged 1 commit into from
Oct 10, 2023
Merged

PR for llvm/llvm-project#66912 #722

merged 1 commit into from
Oct 10, 2023

Conversation

llvmbot
Copy link
Member

@llvmbot llvmbot commented Oct 2, 2023

This should fix #66912. When emitting SEH unwind info, we need to be
able to calculate the exact length of functions before alignments are
fixed. Until that limitation is overcome, just disable all loop
alignment on Windows targets.

(cherry picked from commit 6ae36c012728a274a78a771e4506681732f85a6d)
@mstorsjo
Copy link
Member

mstorsjo commented Oct 2, 2023

@DavidSpickett Does it look reasonable to you to backport this, fixing the regression for people building with -mtune=cortex-a53?

@tru
Copy link
Contributor

tru commented Oct 3, 2023

This will have to wait for 17.0.3 since I am rolling 17.0.2.

@mstorsjo
Copy link
Member

mstorsjo commented Oct 3, 2023

This will have to wait for 17.0.3 since I am rolling 17.0.2.

That sounds totally reasonable.

@DavidSpickett
Copy link
Contributor

This is fine for a backport. Worst case there's a small performance hit, but this optimisation wasn't stable on Windows on Arm in previous releases anyway, so that's fine (if we were even running it before that is).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fatal error: error in backend: Failed to evaluate function length in SEH unwind info
4 participants