Skip to content

Adding LLVM-21 Support#8

Merged
ivanradanov merged 7 commits intoRIKEN-RCCS:mainfrom
michail-boulasikis:main
Oct 23, 2025
Merged

Adding LLVM-21 Support#8
ivanradanov merged 7 commits intoRIKEN-RCCS:mainfrom
michail-boulasikis:main

Conversation

@michail-boulasikis
Copy link
Contributor

This pull request changes the way Attribute::NoCapture is handled when LLVM MAJOR >= 21. This makes RAPTOR compile using LLVM 21.

@ivanradanov
Copy link
Contributor

Adding helper functions like

addNoCapture(CallInst* CI, unsigned ArgNo);

and similar for Function and putting the #ifdefs inside the functions might be nicer so as not to repeat the same thing everywhere.

Also if you could add llvm 21 to the testing matrix here, we can also make sure to check it in CI

@michail-boulasikis
Copy link
Contributor Author

Thanks for the good suggestions, I have now implemented them.

@ivanradanov ivanradanov self-requested a review October 23, 2025 02:35
@ivanradanov ivanradanov merged commit 30854e5 into RIKEN-RCCS:main Oct 23, 2025
2 checks passed
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.

2 participants

Comments