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 573b377 commit 89abb50Copy full SHA for 89abb50
mlir/test/Dialect/Vector/canonicalize.mlir
@@ -3381,10 +3381,12 @@ func.func @negative_from_elements_to_constant() -> vector<1x!llvm.ptr> {
3381
3382
// -----
3383
3384
-// CHECK-LABEL: func @vector_insert_const_regression(
+// Not a DenseElementsAttr, don't fold.
3385
+
3386
+// CHECK-LABEL: func @negative_insert_llvm_undef(
3387
// CHECK: llvm.mlir.undef
3388
// CHECK: vector.insert
-func.func @vector_insert_const_regression(%arg0: i8) -> vector<4xi8> {
3389
+func.func @negative_insert_llvm_undef(%arg0: i8) -> vector<4xi8> {
3390
%0 = llvm.mlir.undef : vector<4xi8>
3391
%1 = vector.insert %arg0, %0 [0] : i8 into vector<4xi8>
3392
return %1 : vector<4xi8>
0 commit comments