[all-commits] [llvm/llvm-project] 662c62: [mlir][arith] Refine the verifier for arith.consta...
Andrzej Warzyński via All-commits
all-commits at lists.llvm.org
Mon Apr 8 05:59:49 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 662c62609e8ee2dc996da69e11c0d594e799c299
https://github.com/llvm/llvm-project/commit/662c62609e8ee2dc996da69e11c0d594e799c299
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-04-08 (Mon, 08 Apr 2024)
Changed paths:
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
M mlir/test/Dialect/Arith/invalid.mlir
Log Message:
-----------
[mlir][arith] Refine the verifier for arith.constant (#86178)
Disallows initialization of scalable vectors with an attribute of
arbitrary values, e.g.:
```mlir
%c = arith.constant dense<[0, 1]> : vector<[2] x i32>
```
Initialization using vector splats remains allowed (i.e. when all the
init values are identical):
```mlir
%c = arith.constant dense<[1, 1]> : vector<[2] x i32>
```
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