The builder with withElseRegion implicitly builds a terminator depending on the op types, which is unnecessarily complex.
The same can be achieved with scf::buildTerminatedBody which makes the intention clear.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo