Skip to content

LLVM ERROR compiling Clap on 1.17.0 Nightly #40214

Closed
@leonardo-m

Description

@leonardo-m

As reported here:
https://users.rust-lang.org/t/mandel-rust-v0-4/7481/3

Compiling this little project:
https://github.com/willi-kappler/mandel-rust

On x86_64-pc-windows-gnu, rustc 1.17.0-nightly, 691eba1 2017-03-01:

Instruction does not dominate all uses!
%27 = load i32, i32* %26, !range !2
%71 = icmp eq i32 %27, 60
LLVM ERROR: Broken function found, compilation aborted!
error: Could not compile clap.

Further notes:

I can confirm this on MacOS and Linux. Stable and beta ran fine, but nightly has problems on both platforms

Metadata

Metadata

Assignees

Labels

P-highHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions