diff options
author | Markus Böck <markus.boeck02@gmail.com> | 2025-06-30 09:49:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-30 09:49:19 +0200 |
commit | 8602204d9fc483c7c58fa4e4d422d9bffb4e4e95 (patch) | |
tree | f89af7a0574eef043dd6c535182bcea13e0961e7 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 57f7e14b577945258d0f25860ea5abc9098edc04 (diff) | |
download | llvm-8602204d9fc483c7c58fa4e4d422d9bffb4e4e95.zip llvm-8602204d9fc483c7c58fa4e4d422d9bffb4e4e95.tar.gz llvm-8602204d9fc483c7c58fa4e4d422d9bffb4e4e95.tar.bz2 |
[mlir][tensor] Relax input type requirement on `tensor.splat` (#145893)
`tensor.splat` is currently restricted to only accepting input values
that are of integer, index or float type.
This is much more restrictive than the tensor type itself as well as any
lowerings of it.
This PR therefore removes this restriction by using `AnyType` for the
input value. Whether the type is actually valid or not for a tensor
remains verified through the type equality of the result tensor element
type and the input type.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions