3 ms·
What source language are you working with that has go-to?
by tekknolagi 2y ago
What source language are you working with that has go-to?
- swiftcoder 2y agoDoesn't every language with break-to-label (i.e. break out of multiple nested loops) effectively have goto, from an implementation standpoint?
- tekknolagi 2y agoYes but that is not what makes irreducible control flow graphs, I think. You'll still have structured control flow
- matt_d 2y agoOn that note, there's an ongoing discussion on allowing early exits currently not allowed in the MLIR's SCF (structured control flow) dialect, https://discourse.llvm.org/t/rfc-region-based-control-flow-with-early-exits-in-mlir/76998 https://discourse.llvm.org/t/rfc-region-based-control-flow-w..., https://github.com/google/heir/issues/922 https://github.com/google/heir/issues/922
- RossBencina 2y agoISO C