[clang] [CIR] Handle Type::OverflowBehavior in CIRGenItaniumCXXABI (PR #182469)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 20 02:31:23 PST 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Chaitanya (skc7)
<details>
<summary>Changes</summary>
This PR adds OverflowBehavior case to CIRGenItaniumCXXABI.
Fixes CI failures in clangIR introduced by https://github.com/llvm/llvm-project/pull/148914
---
Full diff: https://github.com/llvm/llvm-project/pull/182469.diff
1 Files Affected:
- (modified) clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp (+4)
``````````diff
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:
``````````
</details>
https://github.com/llvm/llvm-project/pull/182469
More information about the cfe-commits
mailing list