[all-commits] [llvm/llvm-project] 4af625: [AMDGPU][SDag] Add IMG init in AdjustInstrPostInst...

Jay Foad via All-commits all-commits at lists.llvm.org
Thu Apr 1 10:14:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4af6251cea025c1ea67013af0ff2a13a63204292
      https://github.com/llvm/llvm-project/commit/4af6251cea025c1ea67013af0ff2a13a63204292
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2021-04-01 (Thu, 01 Apr 2021)

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

  Log Message:
  -----------
  [AMDGPU][SDag] Add IMG init in AdjustInstrPostInstrSelection

Doing this in a post-isel hook avoids the cost of running SIAddIMGInit
which is yet another pass over the MIR.

Differential Revision: https://reviews.llvm.org/D99747


  Commit: 3d07a6d891f58c5ebb64e0ff63f27ca97493e6f4
      https://github.com/llvm/llvm-project/commit/3d07a6d891f58c5ebb64e0ff63f27ca97493e6f4
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2021-04-01 (Thu, 01 Apr 2021)

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

  Log Message:
  -----------
  [AMDGPU][GlobalISel] Add IMG init in selectImageIntrinsic

Doing this during instruction selection avoids the cost of running
SIAddIMGInit which is yet another pass over the MIR.

Differential Revision: https://reviews.llvm.org/D99670


  Commit: fdc4f19e2f80b2d8b6f667d854a2305f0025b34b
      https://github.com/llvm/llvm-project/commit/fdc4f19e2f80b2d8b6f667d854a2305f0025b34b
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2021-04-01 (Thu, 01 Apr 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPU.h
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/lib/Target/AMDGPU/CMakeLists.txt
    R llvm/lib/Target/AMDGPU/SIAddIMGInit.cpp

  Log Message:
  -----------
  [AMDGPU] Remove SIAddIMGInit pass which is now unused

Differential Revision: https://reviews.llvm.org/D99748


Compare: https://github.com/llvm/llvm-project/compare/96d8c6b571e6...fdc4f19e2f80


More information about the All-commits mailing list