[all-commits] [llvm/llvm-project] dc55d3: [mlir][tensor] Fix a crash in `ExtractOp::fold` (#...

Longsheng Mou via All-commits all-commits at lists.llvm.org
Wed Nov 6 00:10:03 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc55d31f4cf5c97b56f6b7e1c24b70674cc15a01
      https://github.com/llvm/llvm-project/commit/dc55d31f4cf5c97b56f6b7e1c24b70674cc15a01
  Author: Longsheng Mou <moulongsheng at huawei.com>
  Date:   2024-11-06 (Wed, 06 Nov 2024)

  Changed paths:
    M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
    M mlir/test/Dialect/Tensor/canonicalize.mlir

  Log Message:
  -----------
  [mlir][tensor] Fix a crash in `ExtractOp::fold` (#115001)

This PR fixes a crash when the tensor of `tensor.extract` is a dense
resource elements attribute.
Fixes #114728.

Co-authored-by: jinzhi <jinzhi6 at huawei.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list