File tree Expand file tree Collapse file tree 2 files changed +11
-13
lines changed
test/Dialect/Bufferization/Transforms Expand file tree Collapse file tree 2 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -334,7 +334,7 @@ struct ExecuteRegionForwardingEliminator
334334 opResultsToReplaceWithExternalValues.push_back (op.getResult (index));
335335 }
336336 }
337- // No yeilded external values - nothing to do.
337+ // No yielded external values - nothing to do.
338338 if (externalValues.empty ())
339339 return failure ();
340340
Original file line number Diff line number Diff line change @@ -380,20 +380,18 @@ func.func private @execute_region_test(%t1 : tensor<?xf32>)
380380// -----
381381
382382// CHECK-LABEL: func @no_inline_execute_region_not_canonicalized
383- module {
384- func.func private @foo ()->()
385- func.func @no_inline_execute_region_not_canonicalized () {
386- %c = arith.constant 42 : i32
387- // CHECK: scf.execute_region
388- // CHECK-SAME: no_inline
389- %v = scf.execute_region -> i32 no_inline {
390- func.call @foo ():()->()
391- scf.yield %c : i32
392- }
393- // CHECK: return
394- return
383+ func.func @no_inline_execute_region_not_canonicalized () {
384+ %c = arith.constant 42 : i32
385+ // CHECK: scf.execute_region
386+ // CHECK-SAME: no_inline
387+ %v = scf.execute_region -> i32 no_inline {
388+ scf.yield %c : i32
395389 }
390+ // CHECK: return
391+ return
396392}
393+
394+
397395// -----
398396
399397// CHECK: func private @some_external_func(memref<?xf32, strided<[?], offset: ?>>)
You can’t perform that action at this time.
0 commit comments