Skip to content

[6.2] Revert #79707 #80768

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
Apr 15, 2025
Merged

[6.2] Revert #79707 #80768

merged 1 commit into from
Apr 15, 2025

Conversation

meg-gupta
Copy link
Contributor

@meg-gupta meg-gupta commented Apr 11, 2025

#79707 made some integer operations transparent enabling them to be inlined during MandatoryInlining. With this OSLogOptimization needs to analyze the inlined function bodies of these integer operations since it runs after MandatoryInlining.

In certain configurations, stdlib's FixedWidthInteger.bitwidth and others are not inlined and OSLogOptimization misses to determine these calls as constants. rdar://148256435 and rdar://148302110 track this and can be resolved by #80712 [not merged] .

However I am reverting #79707 here because rdar://148244242 does not have a resolution at the moment.

Main PR - #80767

Revert "Merge pull request swiftlang#79707 from DougGregor/transparent-integer-conversions"

This reverts commit 9c2c4ea, reversing
changes made to 829e03c.
@meg-gupta meg-gupta requested a review from a team as a code owner April 11, 2025 17:58
@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta meg-gupta requested review from DougGregor and tbkka April 11, 2025 18:10
@meg-gupta
Copy link
Contributor Author

@swift-ci test Linux platform

@tbkka
Copy link
Contributor

tbkka commented Apr 14, 2025

FYI: @DougGregor

@shahmishal shahmishal merged commit d1582be into swiftlang:release/6.2 Apr 15, 2025
5 checks passed
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