[clang] [CIR] Upstream LabelOp (PR #152802)
Morris Hafner via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 11 06:06:49 PDT 2025
================
@@ -272,6 +275,17 @@ mlir::LogicalResult CIRGenFunction::emitSimpleStmt(const Stmt *s,
return mlir::success();
}
+mlir::LogicalResult CIRGenFunction::emitLabelStmt(const clang::LabelStmt &s) {
+
+ if (emitLabel(s.getDecl()).failed())
+ return mlir::failure();
+
+ // IsEHa: not implemented.
----------------
mmha wrote:
Can you make this a `errorNYI`?
https://github.com/llvm/llvm-project/pull/152802
More information about the cfe-commits
mailing list