[clang] [CIR] Upstream Cast kinds for ComplexType (PR #149717)
Henrich Lauko via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 23 07:35:46 PDT 2025
================
@@ -164,14 +173,106 @@ LValue ComplexExprEmitter::emitBinAssignLValue(const BinaryOperator *e,
mlir::Value ComplexExprEmitter::emitCast(CastKind ck, Expr *op,
QualType destTy) {
switch (ck) {
+ case CK_Dependent:
+ llvm_unreachable("dependent cast kind in IR gen!");
----------------
xlauko wrote:
maybe "dependent type must be resolved before the CIR codegen"?
https://github.com/llvm/llvm-project/pull/149717
More information about the cfe-commits
mailing list