Skip to content
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

The run-pass/issue-36856.rs fails on beta for mips{el}-linux-gnu #51413

Open
draganmladjenovic opened this issue Jun 7, 2018 · 5 comments
Open
Labels
O-MIPS Target: MIPS processors T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@draganmladjenovic
Copy link
Contributor

draganmladjenovic commented Jun 7, 2018

The test starts failing after revert in #50137. This issue is still present in FastISel which incorrectly sign extends i1 constants to I32 when selecting binary ops link. I was able to trigger the issue reliably on mips32 https://godbolt.org/g/b3LBWo while other platforms seem to not use the FastISel consistently. For example for arm it needs to be forced https://godbolt.org/g/yWmPMu. Is it ok to revert the mentioned pull until the proper fix gets landed to LLVM repo @nox ?

@nox nox added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Jun 7, 2018
@nox
Copy link
Contributor

nox commented Jun 7, 2018

Cc @rust-lang/compiler

@eddyb
Copy link
Member

eddyb commented Jun 7, 2018

We should revert, IMO, and properly track the FastISel issue, ideally in a way that we can easily check, without an ARM/MIPS system, whether the bug was fixed.

@draganmladjenovic
Copy link
Contributor Author

Effectively this is the same issue as in https://bugs.llvm.org/show_bug.cgi?id=38019 from @alexcrichton. I wasn't able to find rust-lang issue tied to this. I've missed the date. There won't be any 1.27.* releases.

@draganmladjenovic
Copy link
Contributor Author

draganmladjenovic commented Aug 2, 2018

Sorry for the late response. For reference this issue is fixed on LLVM side by https://reviews.llvm.org/rL337288 and https://reviews.llvm.org/rL336084 and that will be part of LLVM 7.0 release.

@sanxiyn sanxiyn added the O-MIPS Target: MIPS processors label Aug 12, 2018
@Enselic
Copy link
Member

Enselic commented Oct 11, 2023

Triage: I can't find any revert of #50137. Does anyone know if it ever was reverted? Since 5 years have passed I also wanted to check if the test still fails for MIPS? Maybe over time it began to pass again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-MIPS Target: MIPS processors T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants