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 CheerpWritePass into TargetMachine of WebAssembly target #238

Merged
merged 2 commits into from
Jul 4, 2024

Conversation

ZyuN0cUka1
Copy link
Contributor

override the addPassesToEmitFile for WebAssembly target to add CheerpWritePass to the queue when it is cheerp target

@ZyuN0cUka1 ZyuN0cUka1 requested a review from yuri91 June 18, 2024 11:18
Copy link
Member

@yuri91 yuri91 left a comment

Choose a reason for hiding this comment

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

This is in the good direction, but let's actually remove CheerpBackend.
Now we have both the previous target and the modified WebAssembly target, but we are not really testing the latter.
We also need to make it so that the WebAssembly target is invoked for the cheerp triplets.

llvm/lib/Target/WebAssembly/CMakeLists.txt Outdated Show resolved Hide resolved
llvm/CheerpCmakeConf.cmake Outdated Show resolved Hide resolved
@yuri91 yuri91 force-pushed the cheerp_as_subtarget branch from 422002a to c6a1204 Compare July 1, 2024 13:40
@yuri91 yuri91 force-pushed the cheerp_as_subtarget branch from c6430c3 to 1dec8a2 Compare July 4, 2024 09:00
@yuri91 yuri91 merged commit c99348a into master Jul 4, 2024
1 check 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