================
@@ -155,8 +158,9 @@ class CIR_RegionBranchOpBase<string mnemonic, list<Trait>
traits = []>
// Base class for the region-branch ops whose successors do not depend on the
// operation: any of their regions may be entered from the parent operation,
and
// every region returns to it on exit.
-class CIR_EnterAnyRegionBranchOpBase<string mnemonic, list<Trait> traits = []>
- : CIR_RegionBranchOpBase<mnemonic, traits> {
+class CIR_EnterAnyRegionBranchOpBase<string mnemonic, list<Trait> traits = [],
----------------
xlauko wrote:
Nit: this says any region may be entered from the parent, but cir.ternary now
narrows that through getEntrySuccessorRegions. Maybe add that subclasses may
narrow entry for constant operands.
https://github.com/llvm/llvm-project/pull/241645
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits