[Mlir-commits] [mlir] [mlir][transform] Overhaul `RegionBranchOpInterface` implementations. (PR #111408)

Ingo Müller llvmlistbot at llvm.org
Thu Oct 10 02:40:32 PDT 2024


================
@@ -104,16 +104,8 @@ transform::AlternativesOp::getEntrySuccessorOperands(RegionBranchPoint point) {
 
 void transform::AlternativesOp::getSuccessorRegions(
     RegionBranchPoint point, SmallVectorImpl<RegionSuccessor> &regions) {
-  for (Region &alternative : llvm::drop_begin(
----------------
ingomueller-net wrote:

> Do we have to implement the `RegionBranchOpInterface` on these transform ops at all?

Maybe not. I just removed it from the three ops and the tests in upstream still pass.

https://github.com/llvm/llvm-project/pull/111408


More information about the Mlir-commits mailing list