diff options
author | Craig Topper <craig.topper@sifive.com> | 2022-01-03 11:13:25 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2022-01-03 11:33:30 -0800 |
commit | cbcbbd6ac8ece43eaff65d40401c75144bf2631f (patch) | |
tree | 3caf758737ef12d6d54b980e395c19ce67f4f96b /llvm/lib/Transforms/Utils/LoopUnroll.cpp | |
parent | e5947760c2e568c2090841a452aa8469cc66f6c8 (diff) | |
download | llvm-cbcbbd6ac8ece43eaff65d40401c75144bf2631f.zip llvm-cbcbbd6ac8ece43eaff65d40401c75144bf2631f.tar.gz llvm-cbcbbd6ac8ece43eaff65d40401c75144bf2631f.tar.bz2 |
[ValueTracking][SelectionDAG] Rename ComputeMinSignedBits->ComputeMaxSignificantBits. NFC
This function returns an upper bound on the number of bits needed
to represent the signed value. Use "Max" to match similar functions
in KnownBits like countMaxActiveBits.
Rename APInt::getMinSignedBits->getSignificantBits. Keeping the old
name around to keep this patch size down. Will do a bulk rename as
follow up.
Rename KnownBits::countMaxSignedBits->countMaxSignificantBits.
Reviewed By: lebedev.ri, RKSimon, spatel
Differential Revision: https://reviews.llvm.org/D116522
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnroll.cpp')
0 files changed, 0 insertions, 0 deletions