Skip to content

Conversation

@nikic
Copy link

@nikic nikic commented Jan 17, 2022

When the tablegen patterns fail to select a truncating scalar FPR store,
our manual selection code also failed to handle it silently, trying to
generate an invalid copy. Fix this by adding support in the manual code
to generate a proper subreg copy before selecting a non-truncating store.

(cherry-picked from 04fb9b7)

This is for rust-lang/rust#92786.

When the tablegen patterns fail to select a truncating scalar FPR store,
our manual selection code also failed to handle it silently, trying to
generate an invalid copy. Fix this by adding support in the manual code
to generate a proper subreg copy before selecting a non-truncating store.

(cherry-picked from 04fb9b7)
@cuviper cuviper merged commit ce65262 into rust-lang:rustc/13.0-2021-09-30 Jan 18, 2022
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