Skip to content

LLVM ERROR: Do not know how to split this operator's operand! #61721

Closed
@TheEnbyperor

Description

@TheEnbyperor

When compiling the crate memchr version 2.2.0 with no_std I get this mysterious error. I have no idea what is causing this and enabling a backtrace does not produce any more output

 Running `rustc --crate-name memchr /home/q/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-2.2.0/src/lib.rs --color always --crate-type lib --emit=dep-info,metadata,link -C panic=abort -C debuginfo=2 -C metadata=6dc975c1ba1c008f -C extra-filename=-6dc975c1ba1c008f --out-dir /media/data/Users/BenjaminMisell/Documents/plan-rust/target/x86_64-none/debug/deps --target /media/data/Users/BenjaminMisell/Documents/plan-rust/x86_64-none.json -L dependency=/media/data/Users/BenjaminMisell/Documents/plan-rust/target/x86_64-none/debug/deps -L dependency=/media/data/Users/BenjaminMisell/Documents/plan-rust/target/debug/deps --cap-lints allow --sysroot /media/data/Users/BenjaminMisell/Documents/plan-rust/target/sysroot --cfg memchr_runtime_simd --cfg memchr_runtime_sse2 --cfg memchr_runtime_sse42 --cfg memchr_runtime_avx`
LLVM ERROR: Do not know how to split this operator's operand!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-SIMDArea: SIMD (Single Instruction Multiple Data)C-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions