[all-commits] [llvm/llvm-project] 43dc65: [ValueTracking] Infer non-zero from shr (add nuw A...

Marina Taylor via All-commits all-commits at lists.llvm.org
Fri Jun 12 07:21:09 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 43dc65d46b54415ea474b0bf0ad8b761444a7ba2
      https://github.com/llvm/llvm-project/commit/43dc65d46b54415ea474b0bf0ad8b761444a7ba2
  Author: Marina Taylor <marina_taylor at apple.com>
  Date:   2026-06-12 (Fri, 12 Jun 2026)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    A llvm/test/Analysis/ValueTracking/known-non-zero-shr-add.ll

  Log Message:
  -----------
  [ValueTracking] Infer non-zero from shr (add nuw A, B), C  (#203039)

...if either A or B has a known-one bit at position >= C.

https://alive2.llvm.org/ce/z/ELYTjh

This eliminates null checks in some internal workloads.

Assisted-by: claude



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