[clang] c3f67b3 - [clang][Interp] Limit MaxBitInt to 128 bits
Timm Bäder via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 11 00:48:40 PDT 2023
Author: Timm Bäder
Date: 2023-10-11T09:48:28+02:00
New Revision: c3f67b3ba9c8cf1677c7ee2a42a6ebd35fdcc763
URL: https://github.com/llvm/llvm-project/commit/c3f67b3ba9c8cf1677c7ee2a42a6ebd35fdcc763
DIFF: https://github.com/llvm/llvm-project/commit/c3f67b3ba9c8cf1677c7ee2a42a6ebd35fdcc763.diff
LOG: [clang][Interp] Limit MaxBitInt to 128 bits
Looks like larger bitints aren't supported everywhere.
Added:
Modified:
clang/test/AST/Interp/intap.cpp
Removed:
################################################################################
diff --git a/clang/test/AST/Interp/intap.cpp b/clang/test/AST/Interp/intap.cpp
index 547e0a90d0da5de..ba9f28f2da4ab05 100644
--- a/clang/test/AST/Interp/intap.cpp
+++ b/clang/test/AST/Interp/intap.cpp
@@ -4,7 +4,7 @@
// RUN: %clang_cc1 -std=c++20 -fms-extensions -verify=ref %s
-using MaxBitInt = _BitInt(8388608);
+using MaxBitInt = _BitInt(128);
constexpr _BitInt(2) A = 0;
constexpr _BitInt(2) B = A + 1;
More information about the cfe-commits
mailing list