This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Async: special handling for parallel loops with zero iterations
ClosedPublic

Authored by ezhulenev on Jul 22 2021, 1:26 PM.

Diff Detail

Event Timeline

ezhulenev created this revision.Jul 22 2021, 1:26 PM
ezhulenev requested review of this revision.Jul 22 2021, 1:26 PM

Can you add a test?

ezhulenev updated this revision to Diff 361020.Jul 22 2021, 4:13 PM

Add a test case

Thanks for the integration tests! But these aren't only meant to supplement unit-test, can you add an IR test that exercise only --async-parallel-for?

ezhulenev updated this revision to Diff 361033.Jul 22 2021, 5:05 PM

Add IR test

mehdi_amini accepted this revision.Jul 22 2021, 5:23 PM

Thanks!

mlir/test/Dialect/Async/async-parallel-for-async-dispatch.mlir
2 ↗(On Diff #361033)

(leftover debug)

This revision is now accepted and ready to land.Jul 22 2021, 5:23 PM