[Mlir-commits] [mlir] [MLIR][Vector]Add constraints to vector.shape_cast(constant) -> constant (PR #147691)
James Newling
llvmlistbot at llvm.org
Fri Jul 11 11:19:16 PDT 2025
newling wrote:
> > %0 = llvm.mlir.constant(dense<0.000000e+00> : vector<12xf8E4M3FN>) : vector<12xi8>
>
> The following question is unrelated but I've seen this popping up multiple times lately: why `llvm.mlir.constant` allows the attribute and the return type to mismatch?
I think this is actually central to the PR!
https://github.com/llvm/llvm-project/pull/147691
More information about the Mlir-commits
mailing list