[all-commits] [llvm/llvm-project] 6d7cf5: [ValueTracking] Improve KnownBits for signed min-m...

adam-bzowski via All-commits all-commits at lists.llvm.org
Wed Dec 25 06:40:18 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d7cf5206f1238139b7a967dea555514a62f7d83
      https://github.com/llvm/llvm-project/commit/6d7cf5206f1238139b7a967dea555514a62f7d83
  Author: adam-bzowski <adam.bzowski at intel.com>
  Date:   2024-12-25 (Wed, 25 Dec 2024)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    A llvm/test/Analysis/ValueTracking/knownbits-trunc-with-min-max-clamp.ll

  Log Message:
  -----------
  [ValueTracking] Improve KnownBits for signed min-max clamping (#120576)

A signed min-max clamp is the sequence of smin and smax intrinsics,
which constrain a signed value into the range: smin <= value <= smax.
The patch improves the calculation of KnownBits for a value subjected to
the signed clamping.



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