Issue 142286
Summary CorrelatedValuePropagation(?) miscompilation
Labels new issue
Assignees
Reporter saethlin
    Like https://github.com/llvm/llvm-project/issues/139866 this is from a fuzzer that generates Rust MIR: https://github.com/cbeuw/rustlantis.

The Rust MIR reproducer is: https://godbolt.org/z/sb568G8r4

With this command line, the program runs:
```
rustc 9870897538617236803.rs -Copt-level=2 -Cllvm-args=-opt-bisect-limit=478
```
Any greater value of opt-bisect-limit runs CorrelatedValuePropagation on `main` and produces a program that just executes a `ud2`.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to