Skip to content

InstCombine miscompilation #142518

@saethlin

Description

@saethlin

Like #139866 this is from a fuzzer that generates Rust MIR: https://github.com/cbeuw/rustlantis.

I've tried to reduce the MIR, but I think there's a pretty complicated structure required because I can't get the MIR very small.
https://godbolt.org/z/G6qsWP57T

The program seems to miscompile starting at rustc -Zmir-opt-level=0 -Copt-level=1 -Cllvm-args=-opt-bisect-limit=159

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions