Skip to content

Commit

Permalink
Bump IREE to 5318fce9dcc809b13420ab9ff22c4c4320e26746
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhang93 committed Nov 15, 2024
1 parent f07a535 commit cbda310
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
// CHECK-DAG: amdaie.core
// CHECK-DAG: %[[C0:.+]] = arith.constant 0 : index
// CHECK-DAG: %[[C1:.+]] = arith.constant 1 : index
// CHECK-DAG: %[[C2:.+]] = arith.constant 2 : index
// CHECK-DAG: %[[C4:.+]] = arith.constant 4 : index
// CHECK: scf.for %[[ARG0:.+]] = %[[C0]] to %[[C4]] step %[[C1]] {
// CHECK-DAG: %[[D:.+]]:2 = affine.delinearize_index %[[ARG0]] into (%[[C2]], %[[C2]]) : index, index
// CHECK-DAG: %[[D:.+]]:2 = affine.delinearize_index %[[ARG0]] into (2, 2) : index, index
// CHECK-DAG: func.call @callee(%[[D]]#0, %[[D]]#1) : (index, index) -> ()
module @test_single {
func.func private @callee(%i: index, %j: index)
Expand All @@ -30,14 +29,13 @@ module @test_single {
// CHECK-DAG: amdaie.core
// CHECK-DAG: %[[C0:.+]] = arith.constant 0 : index
// CHECK-DAG: %[[C1:.+]] = arith.constant 1 : index
// CHECK-DAG: %[[C2:.+]] = arith.constant 2 : index
// CHECK-DAG: %[[C4:.+]] = arith.constant 4 : index
// CHECK-DAG: %[[C16:.+]] = arith.constant 16 : index
// CHECK: scf.for %[[ARG0:.+]] = %[[C0]] to %[[C4]] step %[[C1]] {
// CHECK-DAG: %[[D:.+]]:2 = affine.delinearize_index %[[ARG0]] into (%[[C2]], %[[C2]]) : index, index
// CHECK-DAG: %[[D:.+]]:2 = affine.delinearize_index %[[ARG0]] into (2, 2) : index, index
// CHECK-DAG: func.call @callee(%[[D]]#0, %[[D]]#1) : (index, index) -> ()
// CHECK-DAG: scf.for %[[ARG1:.+]] = %[[C0]] to %[[C16]] step %[[C1]] {
// CHECK-DAG: %[[D:.+]]:2 = affine.delinearize_index %[[ARG0]] into (%[[C4]], %[[C4]]) : index, index
// CHECK-DAG: %[[D:.+]]:2 = affine.delinearize_index %[[ARG0]] into (4, 4) : index, index
// CHECK-DAG: func.call @callee(%[[D]]#0, %[[D]]#1) : (index, index) -> ()
module @test_multi {
func.func private @callee(%i: index, %j: index)
Expand All @@ -63,13 +61,12 @@ module @test_multi {
// CHECK-DAG: amdaie.core
// CHECK-DAG: %[[C0:.+]] = arith.constant 0 : index
// CHECK-DAG: %[[C1:.+]] = arith.constant 1 : index
// CHECK-DAG: %[[C2:.+]] = arith.constant 2 : index
// CHECK-DAG: %[[C4:.+]] = arith.constant 4 : index
// CHECK-DAG: %[[C16:.+]] = arith.constant 16 : index
// CHECK: scf.for %[[ARG0:.+]] = %[[C0]] to %[[C16]] step %[[C1]] {
// CHECK-DAG: %[[D1:.+]]:2 = affine.delinearize_index %[[ARG0]] into (%[[C4]], %[[C4]]) : index, index
// CHECK-DAG: %[[D1:.+]]:2 = affine.delinearize_index %[[ARG0]] into (4, 4) : index, index
// CHECK-DAG: scf.for %[[ARG1:.+]] = %[[C0]] to %[[C4]] step %[[C1]] {
// CHECK-DAG: %[[D2:.+]]:2 = affine.delinearize_index %[[ARG1]] into (%[[C2]], %[[C2]]) : index, index
// CHECK-DAG: %[[D2:.+]]:2 = affine.delinearize_index %[[ARG1]] into (2, 2) : index, index
// CHECK-DAG: func.call @callee(%[[D1]]#0, %[[D1]]#1, %[[D2]]#0, %[[D2]]#1) : (index, index, index, index) -> ()
module @test_nested {
func.func private @callee(%i: index, %j: index, %k: index, %l: index)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -987,9 +987,8 @@ module {
// CHECK-SAME: ins(%[[ACCESS_1]] : memref<4x4xi32, 2 : i32>) outs(%[[SUBVIEW:.*]] : memref<4x4xi32, strided<[4, 1]>, 2 : i32>) {

#map = affine_map<(d0, d1) -> (d0, d1)>
#translation = #iree_codegen.translation_info<Custom>
module {
func.func @mixed_alloc_subview_operands() attributes {translation_info = #translation} {
func.func @mixed_alloc_subview_operands() {
%c2 = arith.constant 2 : index
%c0_i32 = arith.constant 0 : i32
%alloc = memref.alloc() : memref<4x4xi32, 2 : i32>
Expand Down
2 changes: 1 addition & 1 deletion third_party/iree
Submodule iree updated 346 files

0 comments on commit cbda310

Please sign in to comment.