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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Aug 12 04:17:29 PDT 2024


  Branch: refs/heads/users/arsenm/amdgpu-declare-pass-control-flags-in-header
  Home:   https://github.com/llvm/llvm-project
  Commit: 64679cbc78a5bba63bf0b5eb5427ffae7aae6b22
      https://github.com/llvm/llvm-project/commit/64679cbc78a5bba63bf0b5eb5427ffae7aae6b22
  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