[all-commits] [llvm/llvm-project] 3bb256: [mlir][vector] Fix crash in `vector.insert` canoni...

Matthias Springer via All-commits all-commits at lists.llvm.org
Fri Jul 5 08:33:13 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3bb25636414ee5b5eaf99c0bdcc191052c9d7ffb
      https://github.com/llvm/llvm-project/commit/3bb25636414ee5b5eaf99c0bdcc191052c9d7ffb
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/test/Dialect/Vector/canonicalize.mlir

  Log Message:
  -----------
  [mlir][vector] Fix crash in `vector.insert` canonicalization (#97801)

The `InsertOpConstantFolder` assumed that whenever the destination can
be folded to a constant attribute, that attribute must be a
`DenseElementsAttr`. That is is not necessarily the case.



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