c-rhodes wrote: @MacDue pointed out the input type`LLVM_AnyVector` includes `LLVMFixedVectorType` and `LLVMScalableVectorType` and `cast<VectorType>` will crash. I've updated the constraint to fix this. https://github.com/llvm/llvm-project/pull/79270