Issue 183606
Summary [mlir][Interface] IndexingMapOpInterface scalar type restriction prevents usage of non-builtin scalar types for linalg.fill
Labels mlir
Assignees
Reporter red1bluelost
    The PR https://github.com/llvm/llvm-project/pull/179072 prevents the usage of non-builtin scalar types for linalg.fill.

For example

```mlir
%a= linalg.fill ins(%b : !ptr.ptr<#ptr.generic_space>) outs(%c : tensor<2x!ptr.ptr<#ptr.generic_space>>) -> tensor<2x!ptr.ptr<#ptr.generic_space>>
```

would previously work but now fails since ptr.ptr does not pass the scalar requirement in IndexingMapOpInterface. This also prevents any external types that might be used as a scalar type.

@snarang181 @MaheshRavishankar @sweiglbosker 
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to