[all-commits] [llvm/llvm-project] ecb9d9: [KnownBits] Speed up conflict handling in ForeachK...

Jay Foad via All-commits all-commits at lists.llvm.org
Mon Jun 10 03:03:39 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ecb9d94a8bfb07591fdfcf3418c5cfafcad5a13d
      https://github.com/llvm/llvm-project/commit/ecb9d94a8bfb07591fdfcf3418c5cfafcad5a13d
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  [KnownBits] Speed up conflict handling in ForeachKnownBits in unit test. (#94943)

Exit early if known bits have a conflict. This gives me a ~15% speed up
when running this in my Release+Asserts build:

$ unittests/Support/SupportTests
--gtest_filter=KnownBitsTest.*Exhaustive



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list