[all-commits] [llvm/llvm-project] 9db342: [mlir][vector] Fix crash in `vector.insert` canoni...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Fri Jul 5 08:27:39 PDT 2024
Branch: refs/heads/users/matthias-springer/vector_insert_regression
Home: https://github.com/llvm/llvm-project
Commit: 9db3421389cbbd0bfef39c088420d3323349376a
https://github.com/llvm/llvm-project/commit/9db3421389cbbd0bfef39c088420d3323349376a
Author: Matthias Springer <mspringer at nvidia.com>
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
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