Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Carrying local reverts:

-
llvm/llvm-project@852b648
-
llvm/llvm-project@d129763
-
llvm/llvm-project@bf25ecb


llvm/llvm-project@852b648
breaks the stablehlo build. We need to wait stablehlo bumping LLVM ahead
of it and fix the issue. Then we can bump stablehlo and drop the local
commit together.


llvm/llvm-project@d129763
is the corresponding change to
llvm/llvm-project@852b648,
so they are reverted altogether.

---------

Signed-off-by: hanhanW <hanhan0912@gmail.com>
  • Loading branch information
hanhanW authored Sep 27, 2024
1 parent ff1b8b0 commit 34641dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func.func @split_reduction_innermost_reduction_no_dynamic_perfect_tiling_support
// CHECK: scf.for
// CHECK: scf.for %[[ARG3:.+]] = %[[C0]] to %[[C64]] step %[[C1]]
// CHECK: arith.addi
// CHECK: scf.yield %{{.*}} : vector<1x1x4xi32>
// CHECK: scf.yield %{{.*}} : vector<4xi32>
// CHECK: vector.reduction <add>, %{{.+}} %{{.+}} : vector<4xi32> into i32
// CHECK: arith.addi %{{.+}}, %{{.+}} : vector<4xi32>

Expand Down Expand Up @@ -77,7 +77,7 @@ func.func @split_reduction_innermost_reduction_no_dynamic_perfect_tiling_float_s
}

// CHECK-LABEL: func.func @split_reduction_innermost_reduction_no_dynamic_perfect_tiling_float_supported_with_flag()
// CHECK-NOT: scf.yield %{{.+}} : vector<1x1x4xf32>
// CHECK-NOT: arith.addf : vector<4xf32>

// REORDERCHECK-LABEL: func.func @split_reduction_innermost_reduction_no_dynamic_perfect_tiling_float_supported_with_flag()
// REORDERCHECK-DAG: %[[C0:.+]] = arith.constant 0 : index
Expand All @@ -88,7 +88,7 @@ func.func @split_reduction_innermost_reduction_no_dynamic_perfect_tiling_float_s
// REORDERCHECK: scf.for
// REORDERCHECK: scf.for %[[ARG3:.+]] = %[[C0]] to %[[C64]] step %[[C1]]
// REORDERCHECK: arith.addf
// REORDERCHECK: scf.yield %{{.*}} : vector<1x1x4xf32>
// REORDERCHECK: scf.yield %{{.*}} : vector<4xf32>
// REORDERCHECK: vector.reduction <add>, %{{.+}} %{{.+}} : vector<4xf32> into f32
// REORDERCHECK: arith.addf %{{.+}}, %{{.+}} : vector<4xf32>

Expand Down Expand Up @@ -129,7 +129,7 @@ func.func @split_reduction_innermost_reduction_next_dynamic_supported() attribut
// CHECK: scf.for
// CHECK: scf.for %[[ARG3:.+]] = %[[C0]] to %[[C64]] step %[[C1]]
// CHECK: arith.addi
// CHECK: scf.yield %{{.*}} : vector<1x1x4xi32>
// CHECK: scf.yield %{{.*}} : vector<4xi32>
// CHECK: vector.reduction <add>, %{{.+}} %{{.+}} : vector<4xi32> into i32

// -----
Expand Down Expand Up @@ -165,7 +165,7 @@ func.func @split_reduction_innermost_reduction_next_imperfect_tiling_supported()
// CHECK: scf.for
// CHECK: scf.for %[[ARG3:.+]] = %[[C0]] to %[[C64]] step %[[C1]]
// CHECK: arith.addi
// CHECK: scf.yield %{{.*}} : vector<1x1x4xi32>
// CHECK: scf.yield %{{.*}} : vector<4xi32>
// CHECK: vector.reduction <add>, %{{.+}} %{{.+}} : vector<4xi32> into i32

// -----
Expand Down Expand Up @@ -249,7 +249,6 @@ func.func @split_reduction_not_innermost_reduction_unsupported() attributes {hal
}

// CHECK-LABEL: func.func @split_reduction_not_innermost_reduction_unsupported()
// CHECK-NOT: scf.yield %{{.+}} : vector<1x1x4xi32>
// CHECK-NOT: vector.reduction

// -----
Expand Down
2 changes: 1 addition & 1 deletion third_party/llvm-project
Submodule llvm-project updated 439 files

0 comments on commit 34641dd

Please sign in to comment.