[all-commits] [llvm/llvm-project] b0f467: [AMDGPU] Add iglp_opt builtin and MFMA GEMM Opt st...

Austin Kerbow via All-commits all-commits at lists.llvm.org
Fri Aug 19 15:50:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0f4678b9058a4ae00200dfb1de0da5f2ea84dcb
      https://github.com/llvm/llvm-project/commit/b0f4678b9058a4ae00200dfb1de0da5f2ea84dcb
  Author: Austin Kerbow <Austin.Kerbow at amd.com>
  Date:   2022-08-19 (Fri, 19 Aug 2022)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsAMDGPU.def
    M clang/test/CodeGenOpenCL/builtins-amdgcn.cl
    M clang/test/SemaOpenCL/builtins-amdgcn-error.cl
    M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
    M llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.h
    M llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
    M llvm/lib/Target/AMDGPU/GCNSchedStrategy.h
    M llvm/lib/Target/AMDGPU/SIInstructions.td
    M llvm/lib/Target/AMDGPU/SIPostRABundler.cpp
    R llvm/test/CodeGen/AMDGPU/igrouplp-dag-mutation.ll
    R llvm/test/CodeGen/AMDGPU/igrouplp-dag-mutation.mir
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.iglp.opt.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.sched.group.barrier.ll
    M llvm/test/CodeGen/AMDGPU/sched-group-barrier-pipeline-solver.mir

  Log Message:
  -----------
  [AMDGPU] Add iglp_opt builtin and MFMA GEMM Opt strategy

Adds a builtin that serves as an optimization hint to apply specific optimized
DAG mutations during scheduling. This also disables any other mutations or
clustering that may interfere with the desired pipeline. The first optimization
strategy that is added here is designed to improve the performance of small gemm
kernels on gfx90a.

Reviewed By: jrbyrnes

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




More information about the All-commits mailing list