Page MenuHomePhabricator

[mlir] Add support for walking locations similarly to Operations
ClosedPublic

Authored by rriddle on Apr 13 2021, 7:55 PM.

Details

Summary

This allows for walking all nested locations of a given location, and is generally useful when processing locations.

Depends On D100436

Diff Detail

Event Timeline

rriddle created this revision.Apr 13 2021, 7:55 PM
rriddle requested review of this revision.Apr 13 2021, 7:55 PM
mehdi_amini accepted this revision.Apr 13 2021, 8:28 PM
This revision is now accepted and ready to land.Apr 13 2021, 8:28 PM
jpienaar accepted this revision.Apr 13 2021, 8:30 PM
jpienaar added a subscriber: jpienaar.
jpienaar added inline comments.
mlir/lib/IR/Location.cpp
45

OOC Would a type switch be possible here?

rriddle updated this revision to Diff 337907.Apr 15 2021, 2:37 PM
rriddle marked an inline comment as done.

rebase

Herald added a project: Restricted Project. · View Herald TranscriptApr 15 2021, 2:37 PM
This revision was landed with ongoing or failed builds.Apr 15 2021, 4:16 PM
This revision was automatically updated to reflect the committed changes.