[clang] [CIR] Raise IntType max bitwidth to match LLVM IR (PR #191499)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 10 12:49:47 PDT 2026


================
@@ -13,19 +13,24 @@
 // CIR-DAG: !s128i_bitint = !cir.int<s, 128, bitint>
 // CIR-DAG: !u64i_bitint = !cir.int<u, 64, bitint>
 // CIR-DAG: !s128i = !cir.int<s, 128>
+// CIR-DAG: !s256i_bitint = !cir.int<s, 256, bitint>
 
 // _BitInt(128) has alignment 8 while __int128 has alignment 16.
 signed _BitInt(128) bitint128_var;
 __int128 int128_var;
+signed _BitInt(256) bitint256_var;
----------------
erichkeane wrote:

Most useful tests actually are 254 and 257, as those end up being on both sides of certain boundaries.  

So I'd like a test added for those.

That said, I don't expect much /anything to change in CIR from it.

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


More information about the cfe-commits mailing list