Nikita Popov dfb369399d [ValueTracking] Directly use KnownBits shift functions
Make ValueTracking directly call the KnownBits shift helpers, which
provides more precise results.

Unfortunately, ValueTracking has a special case where sometimes we
determine non-zero shift amounts using isKnownNonZero(). I have my
doubts about the usefulness of that special-case (it is only tested
in a single unit test), but I've reproduced the special-case via an
extra parameter to the KnownBits methods.

Differential Revision: https://reviews.llvm.org/D151816
2023-06-01 09:46:16 +02:00
..
2022-02-06 22:18:35 -08:00
2023-03-15 08:46:32 -07:00
2022-02-06 22:18:35 -08:00
2023-05-30 14:12:20 -07:00
2023-03-27 10:20:08 +01:00
2022-03-11 11:41:32 +01:00
2022-03-11 11:41:32 +01:00
2022-11-21 18:28:07 +00:00
2023-02-23 18:11:15 +00:00
2022-09-22 05:03:01 +02:00