[clang] [compiler-rt] [ubsan] Display correct runtime messages for negative _BitInt (PR #93612)
via cfe-commits
cfe-commits at lists.llvm.org
Fri May 31 14:58:51 PDT 2024
================
@@ -3292,22 +3307,39 @@ LValue CodeGenFunction::EmitPredefinedLValue(const PredefinedExpr *E) {
/// { i16 TypeKind, i16 TypeInfo }
/// \endcode
///
-/// followed by an array of i8 containing the type name. TypeKind is 0 for an
-/// integer, 1 for a floating point value, and -1 for anything else.
+/// followed by an array of i8 containing the type name with extra information
+/// for BitInt. TypeKind is 0 for an integer, 1 for a floating point value, 2
+/// for BitInt and -1 for anything else.
----------------
earnol wrote:
I think it is important that those values are 16 bit integers. I'll replace with TK_BitInt(2).
https://github.com/llvm/llvm-project/pull/93612
More information about the cfe-commits
mailing list