[all-commits] [llvm/llvm-project] 7c3089: [TLI] Handle cabs without parameters gracefully

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jul 15 01:42:00 PDT 2025


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

  Changed paths:
    M llvm/lib/Analysis/TargetLibraryInfo.cpp
    M llvm/test/Transforms/InferFunctionAttrs/no-proto.ll

  Log Message:
  -----------
  [TLI] Handle cabs without parameters gracefully

Check that the function has at least one parameter before trying
to access its type.

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



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