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

[CIR] [Lowering] [X86_64] Support VAArg for LongDouble #1101

Conversation

ChuanqiXu9
Copy link
Member

This is the following of #1100.

After #1100, when we want to use LongDouble for VAArg, we will be in trouble due to details in X86_64's ABI and this patch tries to address this.

The practical impact the patch is, after this patch, with #1088 and a small following up fix, we can build and run all C's benchmark in SpecCPU 2017. I think it is a milestone.

@ChuanqiXu9 ChuanqiXu9 force-pushed the users/ChuanqiXu9/VAArgInX86 branch 2 times, most recently from ae0cf06 to ef39145 Compare November 12, 2024 03:43
@ChuanqiXu9 ChuanqiXu9 force-pushed the users/ChuanqiXu9/VAArgInX86ForLongDouble branch from 346c43d to e85ae76 Compare November 12, 2024 03:48
@bcardosolopes bcardosolopes merged commit 4ceef42 into users/ChuanqiXu9/VAArgInX86 Nov 13, 2024
6 checks passed
@ChuanqiXu9
Copy link
Member Author

I am not sure what happened. But I can't see the commit in https://github.com/llvm/clangir/commits/main/ and the corresponding change.

@ChuanqiXu9
Copy link
Member Author

Sent #1150

bcardosolopes pushed a commit that referenced this pull request Nov 25, 2024
Recommit #1101

I am not sure what happened. But that merged PR doesn't show in the git
log. Maybe the stacked PR may not get successed? But after all, we need
to land it again.

Following off are original commit messages:

---

This is the following of #1100.

After #1100, when we want to use
LongDouble for VAArg, we will be in trouble due to details in X86_64's
ABI and this patch tries to address this.

The practical impact the patch is, after this patch, with
#1088 and a small following up fix,
we can build and run all C's benchmark in SpecCPU 2017. I think it is a
milestone.
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.

4 participants