Skip to content

Fail to legalize operation on math dialect #257

Closed
@WangJialei-A

Description

@WangJialei-A

Please see the correctness check result at here:
https://github.com/intel/graph-compiler/actions/runs/10447798151/job/28927236931?pr=161

A reproducible module

module {
  func.func @entry(%arg0: tensor<5x6xf32>) -> tensor<5x6xf32> attributes {llvm.emit_c_interface} {
    %cst = arith.constant 0.000000e+00 : f32
    %0 = tensor.empty() : tensor<5x6xf32>
    %1 = linalg.fill ins(%cst : f32) outs(%0 : tensor<5x6xf32>) -> tensor<5x6xf32>
    %2 = linalg.abs ins(%arg0 : tensor<5x6xf32>) outs(%1 : tensor<5x6xf32>) -> tensor<5x6xf32>
    return %2 : tensor<5x6xf32>
  }
}

Metadata

Metadata

Assignees

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