Skip to content

CorrelatedValuePropagation miscompilation #142286

@saethlin

Description

@saethlin

Like #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.

Metadata

Metadata

Assignees

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions