Issue |
144823
|
Summary |
Miscompilation in Machine Copy Propagation on AArch64
|
Labels |
new issue
|
Assignees |
|
Reporter |
saethlin
|
This is a reduced output from a fuzzer that generates Rust MIR, https://github.com/cbeuw/rustlantis
I've been running rustlantis using a rustc built against the tip of LLVM's main branch. This example compiles fine on Rust nightly:
https://godbolt.org/z/oWzs5PM19
Use the flags
`-Zmir-opt-level=0 -Copt-level=3 -Cno-prepopulate-passes`
Some `-opt-bisect-limit` indicates that compilation goes awry in Machine Copy Propagation. Since this is a recent regression, I think the cause is somehow related to https://github.com/llvm/llvm-project/pull/140267 (of course I have no idea whether that PR added a bug or made it easier for rustlantis to hit an existing one).
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs