[all-commits] [llvm/llvm-project] 71bed8: AMDGPU.h - reduce TargetMachine.h include. NFC.

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun May 24 07:28:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 71bed8206b354a08ad88a2c4585eecf2d94cb444
      https://github.com/llvm/llvm-project/commit/71bed8206b354a08ad88a2c4585eecf2d94cb444
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPU.h
    M llvm/lib/Target/AMDGPU/AMDGPUFixFunctionBitcasts.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.h
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
    M llvm/lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.cpp

  Log Message:
  -----------
  AMDGPU.h - reduce TargetMachine.h include. NFC.

Replace TargetMachine.h include with forward declaration and CodeGen.h include in AMDGPU.h.

Exposes a couple of implicit dependencies that require additional forward declarations/includes.




More information about the All-commits mailing list