In order to increase parallism, certain ops with regions and have the
IsIsolatedFromAbove trait will have their verification delayed. That
means the region verifier may access the invalid ops and may lead to a
crash.
Details
- Reviewers
jpienaar rriddle - Commits
- rG5232c5c5d414: [mlir] Fix verification order of nested ops.
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/test/lib/Dialect/Test/TestDialect.cpp | ||
---|---|---|
1321 | These are used for indicating the verify()/verifyRegion() has executed and ensure the invocation order of all verifiers is sustained. For example, one of the test cases is, we expect seeing a verification failure in nested op and we also expect that the verify() should be executed. Then we don't miss the case like, we've verified non region related traits but forget to call Op::verify(). The same as verifyRegion(). |
Why do we need this remark? (same below)