Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/IR/Operation.h | ||
---|---|---|
61 ↗ | (On Diff #269368) | Oops, meant that you need to check if .second is empty. |
Comment Actions
Added a check for the case where there is no dialect prefix.
Also moved this util to be in OperationSupport alongside getDialect() because it seems to
fit better there.
Comment Actions
Most similar cases in MLIR core are operating on a StringRef instead of an OperationName. There is probably more usage downstream which can be updated incrementally. (I'll take a look separately at what can be updated within TF.)