[Mlir-commits] [mlir] [MLIR] Minor fixes to FoldTransposeBroadcast rewrite (NFC) (PR #140083)

James Newling llvmlistbot at llvm.org
Thu May 15 09:38:30 PDT 2025


newling wrote:

> mlir-asm-printer: 'func.func' failed to verify and will be printed in generic form
> "func.func"() <{function_type = (vector<4x1x1x7xi8>) -> vector<3x2x4x5x6x7xi8>, sym_name = "broadcast_transpose_mixed_example"}> ({
> ^bb0(%arg0: vector<4x1x1x7xi8>):
>   %0 = "vector.broadcast"(%arg0) : (vector<4x1x1x7xi8>) -> vector<2x3x4x5x6x7xi8>
>   %1 = "vector.broadcast"(%0) : (vector<2x3x4x5x6x7xi8>) -> vector<3x2x4x5x6x7xi8>
>   "func.return"(%1) : (vector<3x2x4x5x6x7xi8>) -> ()
> }) : () -> ()

I can see this everytime in when running mlir-opt with the `--debug` flag. 

https://github.com/llvm/llvm-project/pull/140083


More information about the Mlir-commits mailing list