Issue 124162
Summary [mlir][SPIR-V] Add support for poison index values to `spirv.CompositeExtract/InsertOp`
Labels mlir
Assignees kuhar
Reporter dcaballe
    https://github.com/llvm/llvm-project/pull/123488 adds support for poison indices to `vector.insert/extract` ops. Similarly, we should define how poison indices are represented for `spirv.CompositeExtract/InsertOp` and enable the lowering from Vector to SPIR-V for these indices.

We can use the lit tests introduced here as reproducers (they currently error out):
* `@extract_poison_idx`: https://github.com/llvm/llvm-project/pull/123488/files#diff-38974e5f35197a568a112dcab4e1261396394b503c26c19a9454aa1625a84454R178-R185
* `@insert_poison_idx`: https://github.com/llvm/llvm-project/pull/123488/files#diff-38974e5f35197a568a112dcab4e1261396394b503c26c19a9454aa1625a84454R267-R274
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to