This assert is erroneous because an op implementing
RegionBranchOpInterface can have variadic regions and in some cases
have zero regions, in which case the only possible control flow is
branching from the parent op to itself.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
"Branching back to itself" means that control flow goes from "before the op" to "after the op", so yes it'd be NOP