Skip to content

Pass UseCASBackend flag to replayCachedResult (cherry-pick https://github.com/apple/llvm-project/pull/8002 to stable/20230725 branch) #8023

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

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.

(cherry picked from commit 1fe3f3a)

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.

(cherry picked from commit 1fe3f3a)
@rastogishubham
Copy link
Author

@swift-ci please test

@rastogishubham rastogishubham changed the title Pass UseCASBackend flag to replayCachedResult. Pass UseCASBackend flag to replayCachedResult (cherry-pick https://github.com/apple/llvm-project/pull/8022 to stable/202307254 branch) Jan 23, 2024
@rastogishubham rastogishubham changed the title Pass UseCASBackend flag to replayCachedResult (cherry-pick https://github.com/apple/llvm-project/pull/8022 to stable/202307254 branch) Pass UseCASBackend flag to replayCachedResult (cherry-pick https://github.com/apple/llvm-project/pull/8002 to stable/202307254 branch) Jan 23, 2024
@rastogishubham rastogishubham changed the title Pass UseCASBackend flag to replayCachedResult (cherry-pick https://github.com/apple/llvm-project/pull/8002 to stable/202307254 branch) Pass UseCASBackend flag to replayCachedResult (cherry-pick https://github.com/apple/llvm-project/pull/8002 to stable/20230725 branch) Jan 23, 2024
@rastogishubham
Copy link
Author

@swift-ci please test windows

@rastogishubham rastogishubham merged commit 7b18cc2 into swiftlang:stable/20230725 Jan 25, 2024
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