We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3233c94 commit ca8528bCopy full SHA for ca8528b
mlir/test/Dialect/Vector/canonicalize.mlir
@@ -3417,10 +3417,12 @@ func.func @negative_from_elements_poison_constant_mix() -> vector<2xf32> {
3417
3418
// -----
3419
3420
-// CHECK-LABEL: func @vector_insert_const_regression(
+// Not a DenseElementsAttr, don't fold.
3421
+
3422
+// CHECK-LABEL: func @negative_insert_llvm_undef(
3423
// CHECK: llvm.mlir.undef
3424
// CHECK: vector.insert
-func.func @vector_insert_const_regression(%arg0: i8) -> vector<4xi8> {
3425
+func.func @negative_insert_llvm_undef(%arg0: i8) -> vector<4xi8> {
3426
%0 = llvm.mlir.undef : vector<4xi8>
3427
%1 = vector.insert %arg0, %0 [0] : i8 into vector<4xi8>
3428
return %1 : vector<4xi8>
0 commit comments