[all-commits] [llvm/llvm-project] 879a55: [ExpandVariadics] Clean up intrinsic declaration l...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jun 23 06:31:43 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 879a55793a2d9540e9403938e4df6a827028a3ba
      https://github.com/llvm/llvm-project/commit/879a55793a2d9540e9403938e4df6a827028a3ba
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M llvm/lib/Transforms/IPO/ExpandVariadics.cpp

  Log Message:
  -----------
  [ExpandVariadics] Clean up intrinsic declaration lookup (NFC)

The comment was outdated, as getDeclarationIfExists has been
introduced in the meantime.

We also only use this in one place where neither the Tys.empty()
case nor the FT is relevant, so just include the call to
getDeclarationIfExists().



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