Skip to content

PR for llvm/llvm-project#70207 #760

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 2 commits into from
Oct 31, 2023
Merged

PR for llvm/llvm-project#70207 #760

merged 2 commits into from
Oct 31, 2023

Conversation

llvmbot
Copy link
Member

@llvmbot llvmbot commented Oct 30, 2023

nikic added 2 commits October 30, 2023 14:07
(cherry picked from commit d9cfb82207035fc7382ad02ec827c0dbed96565c)
…(#70215)

The check for whether a tail call is supported calls
determineAssignments(), which may modify argument flags. As such, even
though the check fails and a non-tail call will be emitted, it will not
have a different (incorrect) ABI.

Fix this by operating on a separate copy of the arguments.

Fixes llvm/llvm-project#70207.

(cherry picked from commit 292f34b0d3cb2a04be5ebb85aaeb838b29f71323)
@tru
Copy link
Contributor

tru commented Oct 31, 2023

@nikic didn't find a reviewer for this? who would it be?

@nikic
Copy link
Contributor

nikic commented Oct 31, 2023

@aemerson Is this good to backport to 17.x?

@aemerson
Copy link
Contributor

Yes fine with me.

@tru tru merged commit 309d551 into release/17.x Oct 31, 2023
@tru tru deleted the llvm-issue70207 branch October 31, 2023 08:00
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.

[AArch64][GISel] Incorrect ABI for calls with tail marker
4 participants