[flang-commits] [clang] [flang] [mlir] [mlir][Interfaces] Single interface method to query constant region-based CF (PR #193486)
Matthias Springer via flang-commits
flang-commits at lists.llvm.org
Wed Apr 22 05:20:27 PDT 2026
================
@@ -255,8 +269,9 @@ static bool traverseRegionGraph(Region *begin,
if (!terminator)
continue;
SmallVector<RegionSuccessor> successors;
- operandAttributes.resize(terminator->getNumOperands());
- terminator.getSuccessorRegions(operandAttributes, successors);
----------------
matthias-springer wrote:
Note: There's no need to call the terminator op interface method. All operandAttributes are "null".
https://github.com/llvm/llvm-project/pull/193486
More information about the flang-commits
mailing list