Skip to content

Conversation

Steelskin
Copy link
Contributor

Temporarily disable optimizations for some functions.

Motivation:

There is a bug in the Swift rebranch that prevents some functions from being optimized in a way that the assembler can handle. This temporarily disables optimizations for these functions until a permanent solution is implemented.

Bug: swiftlang/llvm-project#11377

Modifications:

Disable optimizations on Windows for problematic functions.

Result:

The project builds for the Swift rebranch.

There is a bug in the Swift rebranch that prevents some functions from being optimized in a way that the assembler can handle. This temporarily disables optimizations for these functions until a permanent solution is implemented. Bug: swiftlang/llvm-project#11377
@Steelskin
Copy link
Contributor Author

@swift-ci please smoke test

@Steelskin
Copy link
Contributor Author

@swift-ci please test

@bripeticca
Copy link
Contributor

@swift-ci please test windows

@compnerd
Copy link
Member

Going to merge this to unblock rebranch (CC: @AnthonyLatsis @bnbarham)

@compnerd compnerd merged commit ed227e8 into swiftlang:main Sep 30, 2025
6 checks passed
Steelskin added a commit to Steelskin/swift-package-manager that referenced this pull request Oct 7, 2025
The issue has been fixed in the compiler so the workaround is no longer necessary. Bug: swiftlang/llvm-project#11377
Steelskin added a commit to Steelskin/swift-package-manager that referenced this pull request Oct 7, 2025
The issue has been fixed in the compiler so the workaround is no longer necessary. Reverts swiftlang#9178. Bug: swiftlang/llvm-project#11377
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants