This allows for walking all nested locations of a given location, and is generally useful when processing locations.
Depends On D100436
Paths
| Differential D100437
[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 TimelineThis revision is now accepted and ready to land.Apr 13 2021, 8:28 PM This revision was landed with ongoing or failed builds.Apr 15 2021, 4:16 PM Closed by commit rG706c9c5ce038: [mlir] Add support for walking locations similarly to Operations (authored by rriddle). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 337932 llvm/include/llvm/ADT/TypeSwitch.h
llvm/unittests/ADT/TypeSwitchTest.cpp
mlir/include/mlir/IR/Location.h
mlir/lib/IR/Diagnostics.cpp
mlir/lib/IR/Location.cpp
|
OOC Would a type switch be possible here?