Closed
Description
04fb9b7 fixes a miscompile in AArch64 debug builds using GlobalISel, where previously nonsensical mrs NZCV
instructions were inserted (originally reported at rust-lang/rust#92786).
The patch does not apply cleanly to 13.x, I have rebased it here: nikic@1715dad Notably the test output in the truncating_f8 test is slightly different, there are three COPYs on 13.x rather than two. I'm not sure whether that is okay or indicative of a problem (maybe @aemerson can confirm).
If it's too late for the 13.0.1 release, we'll carry this patch on the rustc side.
Metadata
Metadata
Assignees
Type
Projects
Relationships
Development
No branches or pull requests
Activity
llvmbot commentedon Jan 14, 2022
@llvm/issue-subscribers-backend-AArch64
tstellar commentedon Jan 14, 2022
@TNorthover What do you think about this?
TNorthover commentedon Jan 19, 2022
Yep, I think this one is good too.
nikic commentedon Jan 25, 2022
Removing this as a backport candidate -- this failed rustc aarch64 testing with:
So probably this patch has some other dependency on the main branch, but I haven't figure out what it is yet.