We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 250ecd5 + 3494ee9 commit 5238d8dCopy full SHA for 5238d8d
llvm/include/llvm/ADT/APInt.h
@@ -109,7 +109,7 @@ class [[nodiscard]] APInt {
109
/// \param implicitTrunc allow implicit truncation of non-zero/sign bits of
110
/// val beyond the range of numBits
111
APInt(unsigned numBits, uint64_t val, bool isSigned = false,
112
- bool implicitTrunc = true)
+ bool implicitTrunc = false)
113
: BitWidth(numBits) {
114
if (!implicitTrunc) {
115
if (isSigned) {
0 commit comments