Skip to content
Commit 4fdc019a authored by Matthias Springer's avatar Matthias Springer
Browse files

[mlir][SCF] Add `SingleBlock` op trait to "scf.while"

This trait is needed so that unstructured control flow is not inlined into "scf.while" ops.

Note: The two regions of "scf.while" are already defined as `SizedRegion<1>`. `SingleBlock` can be queried from C++, `SizedRegion<n>` not.

Fixes #64976.

Differential Revision: https://reviews.llvm.org/D159199
parent b86d3cbc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment