[all-commits] [llvm/llvm-project] fa2263: [CIR][NFC] Use arrangeFunctionDeclaration to build...

Andy Kaylor via All-commits all-commits at lists.llvm.org
Fri May 16 09:08:39 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fa2263b3097c4e5f361505ce564a246a7f289172
      https://github.com/llvm/llvm-project/commit/fa2263b3097c4e5f361505ce564a246a7f289172
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2025-05-16 (Fri, 16 May 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenCall.cpp
    M clang/lib/CIR/CodeGen/CIRGenFunctionInfo.h
    M clang/lib/CIR/CodeGen/CIRGenModule.cpp
    M clang/lib/CIR/CodeGen/CIRGenTypes.cpp
    M clang/lib/CIR/CodeGen/CIRGenTypes.h

  Log Message:
  -----------
  [CIR][NFC] Use arrangeFunctionDeclaration to build function types (#139787)

This change replaces the simplified call that we were previously using
to convert the function type provided by a global declaration to the CIR
function type. We now go through 'arrangeGlobalDeclaration' which builds
the function type in a more complicated manner. This change has no
observable differences for the currently upstreamed CIR support, but it
is necessary to prepare for C++ member function calls, which require the
extra handling.



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