Closed
Description
When trying to make a vector with only 3 lanes, the following occurs:
error: internal compiler error: compiler/rustc_codegen_llvm/src/context.rs:448:55: unknown intrinsic 'llvm.ceil.v3f64'
A couple options:
- Only support power-of-two vector lengths. This is probably fine (at least for the MVP) but would probably require a new attribute for restricting the const generic implementation.
- Patch rustc to use the next power of two for
ceil
etc. Most other ops seem to work fine with unusual vector sizes.
Metadata
Metadata
Assignees
Labels
No labels