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.
1 parent 091a235 commit 9065b75Copy full SHA for 9065b75
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 = false)
+ bool implicitTrunc = true)
113
: BitWidth(numBits) {
114
if (!implicitTrunc) {
115
if (isSigned) {
0 commit comments