Skip to content

Update OSLogFullOptTest for TargetConstantFolding. #59704

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
Jun 25, 2022

Conversation

atrick
Copy link
Contributor

@atrick atrick commented Jun 25, 2022

The difference is that these bitcast operations are no longer sunk to their uses:
%5 = bitcast %swift.refcounted* %1 to %swift.opaque*

The reason is that TargetConstantFolding removes a conditional branch. Then CodeSinking no longer sinks:
%20 = struct $String (%19 : $_StringGuts)

The difference is that these bitcast operations are no longer sunk to their uses:
  %5 = bitcast %swift.refcounted* %1 to %swift.opaque*

The reason is that TargetConstantFolding removes a conditional branch. Then CodeSinking no longer sinks:
  %20 = struct $String (%19 : $_StringGuts)
@atrick atrick requested a review from eeckstein June 25, 2022 07:06
@atrick
Copy link
Contributor Author

atrick commented Jun 25, 2022

@swift-ci smoke test and merge

@atrick atrick merged commit 4b45d91 into swiftlang:main Jun 25, 2022
@atrick atrick deleted the fix-oslog-targetconst branch June 25, 2022 07:47
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.

1 participant