[all-commits] [llvm/llvm-project] 660e45: [KnownBits] Also test 1-bit values in exhaustive t...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed May 31 08:50:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 660e4530124356442ff63d61b1f6dcb9c1def7e6
      https://github.com/llvm/llvm-project/commit/660e4530124356442ff63d61b1f6dcb9c1def7e6
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M llvm/unittests/Support/KnownBitsTest.cpp

  Log Message:
  -----------
  [KnownBits] Also test 1-bit values in exhaustive tests (NFC)

Similar to what we do with ConstantRanges, also test 1-bit values
in exhaustive tests, as these often expose special conditions.
This would have exposed the assertion failure fixed in D151788
earlier.




More information about the All-commits mailing list