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

[BoundsSafety] Fix for opt-remarks #9771

Open
wants to merge 1 commit into
base: stable/20240723
Choose a base branch
from

Conversation

kyulee-com
Copy link

The output of opt-remarks is non-deterministic because it checks the output while iterating over a DenseMap. To fix this issue, we can replace DenseMap with MapVector.

The output of opt-remarks is non-deterministic because it checks the output while iterating over a DenseMap. To fix this issue, we can replace DenseMap with MapVector.
@kyulee-com kyulee-com requested a review from a team as a code owner December 19, 2024 14:49
@kyulee-com kyulee-com changed the title Fix for opt-remarks [BoundsSafety] Fix for opt-remarks Dec 19, 2024
@kyulee-com
Copy link
Author

@rapidsna Can you please review it?

Copy link

@rapidsna rapidsna left a comment

Choose a reason for hiding this comment

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

Thanks @kyulee-com! LGTM. Looping @fhahn @juliannagele for visibility.

@kyulee-com
Copy link
Author

@rapidsna I don't have the permission to test and merge it. Could you please handle this for me?

@rapidsna
Copy link

@swift-ci test

@drodriguez
Copy link

@swift-ci please test windows platform

@drodriguez
Copy link

@swift-ci please test llvm

@drodriguez
Copy link

The LLVM one will fail because there's a lot more test broken, but we can check if the fixed tests are or not in the output.

@kyulee-com
Copy link
Author

The LLVM one will fail because there's a lot more test broken, but we can check if the fixed tests are or not in the output.

Yes, the baseline seems to be broken, but the output for the failed tests doesn't include opt-remarks. So, this PR appears to be valid.

@drodriguez
Copy link

@swift-ci please test Windows platform

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