[all-commits] [llvm/llvm-project] 73c7c3: [MemoryBuiltins] Preserve profiles when optimizing...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Tue Sep 29 11:14:58 PDT 2026


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

  Changed paths:
    M llvm/lib/Analysis/MemoryBuiltins.cpp
    M llvm/test/Transforms/InstCombine/builtin-dynamic-object-size.ll
    M llvm/utils/profcheck-xfail.txt

  Log Message:
  -----------
  [MemoryBuiltins] Preserve profiles when optimizing llvm.objectsize (#227397)

In some cases when lowering llvm.objectsize (e.g., when the object
pointer comes from a select), we end up with a select in the output. We
can trivially preserve the branch weights due to the condition being the
same in some cases.



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