[all-commits] [llvm/llvm-project] 414bc7: AMDGPU: Declare pass control flags in header

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Aug 12 02:00:14 PDT 2024


  Branch: refs/heads/users/arsenm/amdgpu-declare-pass-control-flags-in-header
  Home:   https://github.com/llvm/llvm-project
  Commit: 414bc713e2177417d654ba57c2965571308a9239
      https://github.com/llvm/llvm-project/commit/414bc713e2177417d654ba57c2965571308a9239
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-08-12 (Mon, 12 Aug 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h

  Log Message:
  -----------
  AMDGPU: Declare pass control flags in header

This will allow them to be shared between the old PM and new PM files.

I don't really like needing to expose these globally like this; maybe
it would be better to just move TargetPassConfig and the CodeGenPassBuilder
into one common file?



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