Skip to content

Conversation

@aschwaighofer
Copy link
Contributor

Description: Fixes a missing case to large types reg2mem. Without adding
this case asserts compiler will complain and cause the compiler to
crash.

Risk: Low. This is the same code that we would have generated with an no-asserts
compiler where we fallback to a solution that loads and stores back to memory.

Scope: Fixes a compiler crasher in asserts toolchains.

Testing: Regression test added.

rdar://134914984

asl and others added 3 commits September 13, 2024 11:06
Description: Fixes a missing case to large types reg2mem. Without adding
this case asserts compiler will complain and cause the compiler to
crash.

Risk: Low. This is the same code that we would have generated with an no-asserts
compiler where we fallback to a solution that loads and stores back to memory.

Scope: Fixes a compiler crasher in asserts toolchains.

Testing: Regression test added.

rdar://134914984
(cherry picked from commit eeaf962)
@aschwaighofer aschwaighofer requested a review from a team as a code owner September 13, 2024 18:14
@aschwaighofer
Copy link
Contributor Author

@swift-ci test

Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll take this; it's been thoroughly vetted and addresses an assertion

@DougGregor DougGregor merged commit 7fb200b into swiftlang:release/6.0 Dec 3, 2024
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