[all-commits] [llvm/llvm-project] ef5151: [FunctionAttrs] Don't bail out on unknown calls (#...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jul 29 02:45:53 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef51514c38e6bd658153230769cfb62de9384bce
      https://github.com/llvm/llvm-project/commit/ef51514c38e6bd658153230769cfb62de9384bce
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-07-29 (Tue, 29 Jul 2025)

  Changed paths:
    M llvm/lib/Transforms/IPO/FunctionAttrs.cpp
    M llvm/test/Transforms/FunctionAttrs/noalias.ll
    M llvm/test/Transforms/FunctionAttrs/nonnull.ll
    M llvm/test/Transforms/FunctionAttrs/nounwind.ll

  Log Message:
  -----------
  [FunctionAttrs] Don't bail out on unknown calls (#150958)

When inferring attributes, we should not bail out early on unknown calls
(such as virtual calls), as we may still have call-site attributes that
can be used for inference.

Fixes https://github.com/llvm/llvm-project/issues/150817.



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