Skip to content

MLIR Build warnings #2620

@crockeea

Description

@crockeea

Two mlir files (tests/Examples/common/mnist.mlir and tests/Examples/common/dot_product_8f.mlir are generating warnings during the build process.

INFO: From Action tests/Examples/openfhe/ckks/mnist/mnist_openfhe_heir_opt.mlir:
tests/Examples/common/mnist.mlir:23:22: error: failed to fetch layout attribute for input
    %broadcasted_3 = linalg.broadcast ins(%mapped : tensor<512xf32>) outs(%8 : tensor<1x512xf32>) dimensions = [0]
                     ^
tests/Examples/common/mnist.mlir:23:22: note: see current operation: %24 = "tensor.expand_shape"(<<UNKNOWN SSA VALUE>>) <{reassociation = [[0, 1]], static_output_shape = array<i64: 1, 512>}> : (tensor<512xf32>) -> tensor<1x512xf32>
tests/Examples/common/mnist.mlir:42:23: error: failed to fetch layout attribute for input
    %broadcasted_11 = linalg.broadcast ins(%mapped_7 : tensor<10xf32>) outs(%19 : tensor<1x10xf32>) dimensions = [0]
                      ^
tests/Examples/common/mnist.mlir:42:23: note: see current operation: %26 = "tensor.expand_shape"(<<UNKNOWN SSA VALUE>>) <{reassociation = [[0, 1]], static_output_shape = array<i64: 1, 10>}> : (tensor<10xf32>) -> tensor<1x10xf32>

...

INFO: From Action tests/Examples/lattigo/ckks/dot_product_8f_debug/dot_product_8f_debug_heir_opt.mlir:
tests/Examples/common/dot_product_8f.mlir:8:10: error: Not enough data for result
    %4 = arith.addf %iter, %3 : f32
         ^
tests/Examples/common/dot_product_8f.mlir:8:10: note: see current operation: %25 = "arith.mulf"(%24, %0) <{fastmath = #arith.fastmath<none>}> : (tensor<1x2048xf32>, tensor<1x2048xf32>) -> tensor<1x2048xf32>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions