Skip to content

Commit 9065b75

Browse files
committed
Revert "[APInt] Enable APInt ctor assertion by default (#112670)"
This reverts commit ba1ee2b. Causes some buildbot failures on aarch64.
1 parent 091a235 commit 9065b75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/ADT/APInt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class [[nodiscard]] APInt {
109109
/// \param implicitTrunc allow implicit truncation of non-zero/sign bits of
110110
/// val beyond the range of numBits
111111
APInt(unsigned numBits, uint64_t val, bool isSigned = false,
112-
bool implicitTrunc = false)
112+
bool implicitTrunc = true)
113113
: BitWidth(numBits) {
114114
if (!implicitTrunc) {
115115
if (isSigned) {

0 commit comments

Comments
 (0)