[all-commits] [llvm/llvm-project] 9b9869: [AMDGPU] Run LowerLDS at the end of the fullLTO pi...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Mon Mar 18 01:10:04 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b98692eedb78aa106539c36ba02944f32cae1ff
      https://github.com/llvm/llvm-project/commit/9b98692eedb78aa106539c36ba02944f32cae1ff
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2024-03-18 (Mon, 18 Mar 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    A llvm/test/CodeGen/AMDGPU/lto-lower-module-lds.ll

  Log Message:
  -----------
  [AMDGPU] Run LowerLDS at the end of the fullLTO pipeline (#75333)

This change allows us to use `--lto-partitions` in some cases (not at
all guaranteed it works perfectly), as LDS is lowered before the module
is split for parallel codegen.

We must run LowerLDS before splitting modules as it needs to see all
callers of functions with LDS to properly lower them.



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