-
Notifications
You must be signed in to change notification settings - Fork 333
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
base: stable/20240723
Are you sure you want to change the base?
Conversation
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.
@rapidsna Can you please review it? |
There was a problem hiding this 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.
@rapidsna I don't have the permission to test and merge it. Could you please handle this for me? |
@swift-ci test |
@swift-ci please test windows platform |
@swift-ci please test llvm |
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. |
@swift-ci please test Windows platform |
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.