[all-commits] [llvm/llvm-project] 875809: [LLVM] Add 'ExpandVariadicsPass' to LTO default pi...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Jul 25 07:21:28 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8758091a70393f71c5a75805f5cbde556f6dce22
      https://github.com/llvm/llvm-project/commit/8758091a70393f71c5a75805f5cbde556f6dce22
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-25 (Thu, 25 Jul 2024)

  Changed paths:
    M llvm/lib/Passes/PassBuilderPipelines.cpp
    M llvm/test/Other/new-pm-lto-defaults.ll
    A llvm/test/Transforms/PhaseOrdering/varargs.ll

  Log Message:
  -----------
  [LLVM] Add 'ExpandVariadicsPass' to LTO default pipeline (#100479)

Summary:
This pass expands variadic functions into non-variadic function calls
according to the target ABI. Currently, this is used as the lowering for
the NVPTX and AMDGPU targets.

This pass is currently only run late in the target's backend. However,
during LTO we want to run it before the inliner pass so that the
expanded functions can be inlined using standard heuristics. This pass
is a no-op for unsupported targets, so this won't apply to any code that
isn't already using it.



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