File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1462,13 +1462,13 @@ func.func @negative_memref_view_extract_aligned_pointer(%arg0: memref<?xi8>) ->
14621462 // `extract_aligned_pointer_as_index` must not be folded as `memref.view` can change the base pointer
14631463 // CHECK-LABEL: func @negative_memref_view_extract_aligned_pointer
14641464 // CHECK-SAME: (%[[ARG0:.*]]: memref<?xi8>)
1465- // CHECK: %[[C0 :.*]] = arith.constant 0 : index
1466- // CHECK: %[[VIEW:.*]] = memref.view %[[ARG0]][%[[C0 ]]][] : memref<?xi8> to memref<f32>
1465+ // CHECK: %[[C10 :.*]] = arith.constant 10 : index
1466+ // CHECK: %[[VIEW:.*]] = memref.view %[[ARG0]][%[[C10 ]]][] : memref<?xi8> to memref<f32>
14671467 // CHECK: %[[PTR:.*]] = memref.extract_aligned_pointer_as_index %[[VIEW]] : memref<f32> -> index
14681468 // CHECK: return %[[PTR]] : index
14691469
1470- %c0 = arith.constant 0 : index
1471- %0 = memref.view %arg0 [%c0 ][] : memref <?xi8 > to memref <f32 >
1470+ %c10 = arith.constant 10 : index
1471+ %0 = memref.view %arg0 [%c10 ][] : memref <?xi8 > to memref <f32 >
14721472 %1 = memref.extract_aligned_pointer_as_index %0: memref <f32 > -> index
14731473 return %1 : index
14741474}
You can’t perform that action at this time.
0 commit comments