Closed
Description
RUSTFLAGS='-C codegen-units=16 -Z thinlto' cargo +nightly build --release
on my project causes:
rustc: /checkout/src/llvm/lib/Transforms/Scalar/GVN.cpp:1933: bool llvm::GVN::replaceOperandsWithConsts(llvm::Instruction*) const: Assertion `!isa<Constant>(Operand) && "Replacing constants with constants is invalid"' failed.
(No backtrace)
Its a private crate that is somewhat large and I have no idea where to start to be able to reduce it down to something that still causes the issue, I'm up for suggestions though.
$ rustc +nightly --version
rustc 1.22.0-nightly (150b625a0 2017-10-08)
Metadata
Metadata
Assignees
Labels
No labels