Skip to content

PR for llvm/llvm-project#59554 #222

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
Jan 10, 2023
Merged

PR for llvm/llvm-project#59554 #222

merged 1 commit into from
Jan 10, 2023

Conversation

llvmbot
Copy link
Member

@llvmbot llvmbot commented Jan 5, 2023

…ate type is not extend type

If the src type is not extend type, after convert the truncate to and we need to truncate the and also to make sure the all user is legal.

The old fix D137613 doesn't work when the truncate convert to and have the other users. So this time I try to add the truncate after and to avoid all these potential issues.

Fix: #59554

Reviewed By: samparker

Differential Revision: https://reviews.llvm.org/D140869

(cherry picked from commit a0b470c)
@llvmbot
Copy link
Member Author

llvmbot commented Jan 5, 2023

@sparker-arm What do you think about merging this PR to the release branch?

@sparker-arm
Copy link
Contributor

@bcl5980 Since the original 'fix' was cherry-picked onto 15.x, I guess this should be too?

@bcl5980
Copy link
Contributor

bcl5980 commented Jan 7, 2023

@bcl5980 Since the original 'fix' was cherry-picked onto 15.x, I guess this should be too?

Yeah, I think so.

@tstellar tstellar merged commit 67fd0d2 into release/15.x Jan 10, 2023
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.

TypePromotion produces invalid IR (take 2)
4 participants