Skip to content

Commit 6ff3786

Browse files
committed
Add another missing case from classic codegen
1 parent caae6cc commit 6ff3786

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,10 @@ class ScalarExprEmitter : public StmtVisitor<ScalarExprEmitter, mlir::Value> {
256256
"ScalarExprEmitter: sycl unique stable name");
257257
return {};
258258
}
259-
259+
mlir::Value VisitEmbedExpr(EmbedExpr *e) {
260+
cgf.cgm.errorNYI(e->getSourceRange(), "ScalarExprEmitter: embed");
261+
return {};
262+
}
260263
mlir::Value VisitOpaqueValueExpr(OpaqueValueExpr *e) {
261264
if (e->isGLValue())
262265
return emitLoadOfLValue(cgf.getOrCreateOpaqueLValueMapping(e),

0 commit comments

Comments
 (0)