Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[APInt] Enable APInt ctor assertion by default
This enables the assertion introduced in llvm#106524, which checks that the value passed to the constructor is indeed a valid N-bit signed or unsigned integer. Places that previously violated the assertion were updated in advance, e.g. in llvm#80309. It is possible to opt-out of the check and restore the previous behavior by setting implicitTrunc=true.
- Loading branch information