Skip to content

Pass UseCASBackend flag to replayCachedResult. #8002

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

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

rastogishubham
Copy link

When using MCCAS, the replay on a cache hit needs to materialize the object file by calling into MCCAS's serializeObjectFile function. Pass the UseCASBackend flag from the CodeGenOpts to replayCachedResult to make sure it knows when to invoke MCCAS serialization.

@rastogishubham rastogishubham requested review from benlangmuir and akyrtzi and removed request for benlangmuir January 19, 2024 08:17
@rastogishubham
Copy link
Author

@swift-ci please test llvm

@rastogishubham
Copy link
Author

@swift-ci please test llvm

@rastogishubham
Copy link
Author

@swift-ci please test llvm

@cachemeifyoucan
Copy link

Is there anyway to write a test for it?

@rastogishubham
Copy link
Author

@swift-ci please test llvm

@rastogishubham
Copy link
Author

@swift-ci please test llvm

When using MCCAS, the replay on a cache hit needs to materialize the
object file by calling into MCCAS's serializeObjectFile function. Pass
the UseCASBackend flag from the CodeGenOpts to replayCachedResult to
make sure it knows when to invoke MCCAS serialization.
@rastogishubham
Copy link
Author

@swift-ci please test

@rastogishubham
Copy link
Author

@swift-ci please test

@rastogishubham
Copy link
Author

@swift-ci please test

Copy link

@akyrtzi akyrtzi left a comment

Choose a reason for hiding this comment

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

Thank you for the fix! 🙇🏻‍♂️

@rastogishubham rastogishubham merged commit a7914ce into swiftlang:next Jan 23, 2024
rastogishubham added a commit that referenced this pull request Jan 25, 2024
Pass UseCASBackend flag to replayCachedResult (cherry-pick #8002 to stable/20230725 branch)
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.

3 participants