Skip to content

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.

…t-integer-conversions"

This reverts commit 9c2c4ea, reversing
changes made to 829e03c.
@meg-gupta meg-gupta requested a review from DougGregor April 11, 2025 17:45
@meg-gupta meg-gupta changed the title Revert "Merge pull request #79707 from DougGregor/transparent-integer… Revert #79707 Apr 11, 2025
@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta meg-gupta mentioned this pull request Apr 11, 2025
@meg-gupta
Copy link
Contributor Author

@swift-ci test linux platform

1 similar comment
@shahmishal
Copy link
Member

@swift-ci test linux platform

@meg-gupta meg-gupta merged commit 198a802 into swiftlang:main Apr 15, 2025
5 checks passed
meg-gupta added a commit to meg-gupta/swift that referenced this pull request Apr 19, 2025
Revert "Merge pull request swiftlang#80767 from meg-gupta/reverttransparent"

This reverts commit 198a802, reversing
changes made to 8eb43af.
@meg-gupta meg-gupta mentioned this pull request Apr 19, 2025
meg-gupta added a commit to meg-gupta/swift that referenced this pull request Apr 21, 2025
Revert "Merge pull request swiftlang#80767 from meg-gupta/reverttransparent"

This reverts commit 198a802, reversing
changes made to 8eb43af.
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