================
@@ -429,6 +443,32 @@ CIRGenFunction::emitContinueStmt(const clang::ContinueStmt
&s) {
return mlir::success();
}
+mlir::LogicalResult CIRGenFunction::emitLabel(const clang::LabelDecl *d) {
+ // Create a new block to tag with a label and add a branch from
----------------
mmha wrote:
The labels as values gcc extension is not part of this patch, but I wonder how
that will look like. Should `cir.label` be a value in general or do we need a
new op for `AddrLabelExpr`s`?
https://github.com/llvm/llvm-project/pull/152802
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits