forked from OSchip/llvm-project
[mlir][sparse]Replace redundant indices checks in sparse_tensor.conversion
Replace some redundant indices checks with the correct checks Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D129101
This commit is contained in:
parent
a17c90daf2
commit
033b9f21b0
|
@ -134,12 +134,12 @@ module {
|
|||
// CHECK-NEXT: ( 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 )
|
||||
// CHECK-NEXT: ( 0, 1, 2, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 )
|
||||
// CHECK-NEXT: ( 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0 )
|
||||
// CHECK-NEXT: ( 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 )
|
||||
// CHECK-NEXT: ( 0, 1, 2, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 )
|
||||
// CHECK-NEXT: ( 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0 )
|
||||
// CHECK-NEXT: ( 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 )
|
||||
// CHECK-NEXT: ( 0, 1, 2, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 )
|
||||
// CHECK-NEXT: ( 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0 )
|
||||
// CHECK-NEXT: ( 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 )
|
||||
// CHECK-NEXT: ( 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 )
|
||||
// CHECK-NEXT: ( 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0 )
|
||||
// CHECK-NEXT: ( 0, 1, 2, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 )
|
||||
// CHECK-NEXT: ( 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 )
|
||||
// CHECK-NEXT: ( 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0 )
|
||||
// CHECK-NEXT: ( 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 )
|
||||
// CHECK-NEXT: ( 0, 1, 2, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 )
|
||||
// CHECK-NEXT: ( 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0 )
|
||||
|
@ -211,12 +211,12 @@ module {
|
|||
call @dumpidx(%v10) : (memref<?xindex>) -> ()
|
||||
call @dumpidx(%v11) : (memref<?xindex>) -> ()
|
||||
call @dumpidx(%v12) : (memref<?xindex>) -> ()
|
||||
call @dumpidx(%v10) : (memref<?xindex>) -> ()
|
||||
call @dumpidx(%v11) : (memref<?xindex>) -> ()
|
||||
call @dumpidx(%v12) : (memref<?xindex>) -> ()
|
||||
call @dumpidx(%v10) : (memref<?xindex>) -> ()
|
||||
call @dumpidx(%v11) : (memref<?xindex>) -> ()
|
||||
call @dumpidx(%v12) : (memref<?xindex>) -> ()
|
||||
call @dumpidx(%v20) : (memref<?xindex>) -> ()
|
||||
call @dumpidx(%v21) : (memref<?xindex>) -> ()
|
||||
call @dumpidx(%v22) : (memref<?xindex>) -> ()
|
||||
call @dumpidx(%v30) : (memref<?xindex>) -> ()
|
||||
call @dumpidx(%v31) : (memref<?xindex>) -> ()
|
||||
call @dumpidx(%v32) : (memref<?xindex>) -> ()
|
||||
|
||||
call @dumpidx(%a10) : (memref<?xindex>) -> ()
|
||||
call @dumpidx(%a11) : (memref<?xindex>) -> ()
|
||||
|
|
Loading…
Reference in New Issue