Truncates the APInt if the bit width is greater than the width specified,
otherwise do nothing
Details
Details
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
390 ms | linux > HWAddressSanitizer-x86_64.TestCases::sizes.cpp |
Paths
| Differential D91445
[APInt] Add the truncOrSelf resizing operator to APInt ClosedPublic Authored by kmclaughlin on Nov 13 2020, 10:41 AM.
Details Summary Truncates the APInt if the bit width is greater than the width specified,
Diff Detail
Unit TestsFailed
Event TimelineThis revision is now accepted and ready to land.Nov 14 2020, 9:06 AM This revision was landed with ongoing or failed builds.Nov 23 2020, 3:40 AM Closed by commit rGd3a0f9b9ec88: [APInt] Add the truncOrSelf resizing operator to APInt (authored by kmclaughlin). · Explain Why This revision was automatically updated to reflect the committed changes. kmclaughlin marked 2 inline comments as done.
Revision Contents
Diff 305212 llvm/include/llvm/ADT/APInt.h
llvm/lib/Support/APInt.cpp
llvm/unittests/ADT/APIntTest.cpp
|
clang-tidy: warning: invalid case style for parameter 'width' [readability-identifier-naming]
not useful