This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Allow nested regions in inlineRegionAndEmitStore
ClosedPublic

Authored by tpopp on Dec 15 2020, 8:41 AM.

Details

Summary

This is useful for scalar code that uses for/while loops.
This has also been confirmed to work for representing std.pow as an
scf.for loop on gpus.

Diff Detail

Event Timeline

tpopp created this revision.Dec 15 2020, 8:41 AM
tpopp requested review of this revision.Dec 15 2020, 8:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 15 2020, 8:41 AM
This revision was not accepted when it landed; it landed in state Needs Review.Dec 15 2020, 12:03 PM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.

well you need at least some test here :p