[clang] [CIR] Upstream Cast kinds for ComplexType (PR #149717)

Amr Hesham via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 23 09:37:37 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!");
----------------
AmrDeveloper wrote:

Updated :D, I will merge after CI is green if there are no other comments


https://github.com/llvm/llvm-project/pull/149717


More information about the cfe-commits mailing list