Issue 53162
Summary Cherry-pick AArch64/GlobalISel fp copy fix
Labels new issue
Assignees
Reporter nikic
    https://github.com/llvm/llvm-project/commit/04fb9b729a53a5f513328159590d86d28336a6da fixes a miscompile in AArch64 debug builds using GlobalISel, where previously nonsensical `mrs NZCV` instructions were inserted (originally reported at https://github.com/rust-lang/rust/issues/92786).

The patch does not apply cleanly to 13.x, I have rebased it here: https://github.com/nikic/llvm-project/commit/1715dadf906c6de4d28ef7da7beebd5bc85a2882 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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to