mlir-aie icon indicating copy to clipboard operation
mlir-aie copied to clipboard

tosa aievec integration tests fail with dialect errors

Open fifield opened this issue 7 months ago • 0 comments

The TOSA to aievec conversion tests in test/Integration/Dialect/TOSA fail with errors like:

/mlir-aie/test/Integration/Dialect/TOSA/i16xi32_mul_elem/i32xi16_mul_elem.mlir:16:10: error: 'tosa.mul' op expected 3 operands, but found 2
    %2 = "tosa.mul"(%arg1, %0) {shift = 0 : i8} : (tensor<1024xi32>, tensor<1024xi32>)  -> (tensor<1024xi32>)

These do not get tested in any github workflow so it is unknown how long ago tosa dialect changed to cause these errors. It appears that the attributes on such ops are now operands (e.g. shift in the error above).

fifield avatar May 08 '25 19:05 fifield