[all-commits] [llvm/llvm-project] 7ecbe0: [NewPM][AMDGPU] Port amdgpu-lower-kernel-attributes

aeubanks via All-commits all-commits at lists.llvm.org
Tue Dec 29 10:27:15 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ecbe0c7a01848fce88dcf3b6977cec866e9938b
      https://github.com/llvm/llvm-project/commit/7ecbe0c7a01848fce88dcf3b6977cec866e9938b
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-12-29 (Tue, 29 Dec 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPU.h
    M llvm/lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/test/CodeGen/AMDGPU/reqd-work-group-size.ll
    M llvm/tools/opt/opt.cpp

  Log Message:
  -----------
  [NewPM][AMDGPU] Port amdgpu-lower-kernel-attributes

And add it to the AMDGPU opt pipeline.

This is a function pass instead of a module pass (like the legacy pass)
because it's getting added to a CGSCCPassManager, and you can't put a
module pass in a CGSCCPassManager.

Reviewed By: arsenm

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




More information about the All-commits mailing list