Skip to content

Commit 5df26fc

Browse files
committed
Add comment
1 parent 81658b0 commit 5df26fc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mlir/test/Dialect/Vector/canonicalize.mlir

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2008,6 +2008,9 @@ func.func @shuffle_1d() -> vector<4xi32> {
20082008

20092009
// -----
20102010

2011+
// Check that poison indices pick the first element of the first non-poison
2012+
// input vector. That is, %v[0] (i.e., 5) in this test.
2013+
20112014
// CHECK-LABEL: func @shuffle_1d_poison_idx
20122015
// CHECK: %[[V:.+]] = arith.constant dense<[2, 5, 0, 5]> : vector<4xi32>
20132016
// CHECK: return %[[V]]

0 commit comments

Comments
 (0)