[all-commits] [llvm/llvm-project] 725fcf: [KnownBits] Reduce number of overflow checks for u...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed May 24 02:17:14 PDT 2023


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

  Changed paths:
    M llvm/lib/Support/KnownBits.cpp

  Log Message:
  -----------
  [KnownBits] Reduce number of overflow checks for uadd/sub_sat (NFCI)

Only check for overflow on the min/max values, don't also check
for predicates in addition to that.




More information about the All-commits mailing list