[all-commits] [llvm/llvm-project] ffdc7d: [SimplifyLibCalls] Explicitly annotate memchr sele...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Thu Sep 10 11:58:37 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ffdc7df10d016542cee44dec8b777161a309bd55
      https://github.com/llvm/llvm-project/commit/ffdc7df10d016542cee44dec8b777161a309bd55
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2026-09-10 (Thu, 10 Sep 2026)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
    M llvm/test/Transforms/InstCombine/memchr-11.ll
    M llvm/test/Transforms/InstCombine/memchr-2.ll
    M llvm/test/Transforms/InstCombine/memchr-3.ll
    M llvm/test/Transforms/InstCombine/memchr-6.ll
    M llvm/test/Transforms/InstCombine/memchr.ll
    M llvm/utils/profcheck-xfail.txt

  Log Message:
  -----------
  [SimplifyLibCalls] Explicitly annotate memchr selects (#222734)

SimplifyLibCalls creates a variety of selects when optimizing calls to
memchr. Explicitly annotate them as unknown as the conditions always
depend on a non-constant parameter to memchr with which we cannot infer
probability information without value profile data.



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