https://github.com/skc7 created https://github.com/llvm/llvm-project/pull/182469
This PR adds OverflowBehavior case to CIRGenItaniumCXXABI. Fixes CI failures in clangIR introduced by https://github.com/llvm/llvm-project/pull/148914 >From 8524dee3f2486fd5b03386fd81b9b151aaa2363d Mon Sep 17 00:00:00 2001 From: skc7 <[email protected]> Date: Fri, 20 Feb 2026 15:58:34 +0530 Subject: [PATCH] [CIR] Handle Type::OverflowBehavior in CIRGenItaniumCXXABI --- clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp b/clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp index aca2278c3876c..a4fdf8b33216b 100644 --- a/clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp +++ b/clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp @@ -960,6 +960,7 @@ const char *vTableClassNameForType(const CIRGenModule &cgm, const Type *ty) { case Type::Builtin: case Type::BitInt: + case Type::OverflowBehavior: // GCC treats vector and complex types as fundamental types. case Type::Vector: case Type::ExtVector: @@ -1388,6 +1389,9 @@ mlir::Attribute CIRGenItaniumRTTIBuilder::buildTypeInfo( case Type::BitInt: break; + case Type::OverflowBehavior: + break; + case Type::ConstantArray: case Type::IncompleteArray: case Type::VariableArray: _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
