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

Add large code model #59

Merged
merged 1 commit into from
Sep 10, 2024
Merged

Conversation

tclin914
Copy link
Contributor

@tclin914 tclin914 commented Sep 9, 2024

No description provided.

Signed-off-by: Jim Tsung-Chun Lin <[email protected]>
@cmuellner
Copy link
Collaborator

This looks good in general.

When double-checking with the implementations, I saw that LLVM does not create __riscv_cmodel_large. We should probably close this gap before merging this PR.

Copy link
Collaborator

@cmuellner cmuellner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cmuellner
Copy link
Collaborator

@asb and @kito-cheng: any objections to merging this?

It looks like this is needed for llvm/llvm-project#107817

Copy link
Collaborator

@kito-cheng kito-cheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@cmuellner cmuellner merged commit da20827 into riscv-non-isa:main Sep 10, 2024
1 check passed
@asb
Copy link
Contributor

asb commented Sep 10, 2024

In parallel I'd added the define to riscv-c-api-doc in riscv-non-isa/riscv-c-api-doc#86

This listing of defines comes from when this repo was little more than my personal notes on what GCC does and Clang should probably do to follow suit. Now that we have the preprocessor defines listed authoritatively in riscv-c-api-doc I think it makes sense to remove them from this document, which #61 does.

@tclin914 tclin914 deleted the large-codemodel branch September 11, 2024 02:06
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