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

Fixes to make the code compile again #55

Closed
wants to merge 2 commits into from

Conversation

ctbur
Copy link

@ctbur ctbur commented Aug 14, 2019

While following the instructions in the readme there were two compilation errors. This PR contains the changes needed to make the C backend compile.

ctbur added 2 commits August 14, 2019 20:22
The function IntrinsicLowering::AddPrototypes was removed.
Change the signature to TargetSubtargetInfo::TargetSubtargetInfo in
accordance with LLVM.
@sapir
Copy link
Contributor

sapir commented Aug 14, 2019

Which version of LLVM are you using?

@ctbur
Copy link
Author

ctbur commented Aug 14, 2019

Ok, I thought I was on branch release_80, but after checking it seems that I am actually on master. That's what I get for copying multiple lines of shell code without carefully checking the result..

In any case, the code compiles and the tests run successfully. Maybe you can use this in the future, otherwise you can close the PR.

@sapir
Copy link
Contributor

sapir commented Aug 24, 2019

Maybe make these changes with an #ifdef for LLVM version 9?

@ctbur
Copy link
Author

ctbur commented Sep 20, 2019

LLVM 9 is released now, so the PR should be applicable.

@vtjnash
Copy link
Member

vtjnash commented Nov 8, 2019

Can you update the README to say this now targets LLVM 9, and we can merge this.

@woachk
Copy link
Contributor

woachk commented Jan 11, 2020

Please don't break prior LLVM versions in the process (talking about that second commit, perhaps using an #ifdef there?).

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