[all-commits] [llvm/llvm-project] 2ac53f: [AMDGPU] Avoid processing functions in amdgpu-prop...

Piotr Sobczak via All-commits all-commits at lists.llvm.org
Thu Sep 23 07:47:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ac53fffaeda809df34e3fb2c442b0fd85d4b0ff
      https://github.com/llvm/llvm-project/commit/2ac53fffaeda809df34e3fb2c442b0fd85d4b0ff
  Author: Piotr Sobczak <Piotr.Sobczak at amd.com>
  Date:   2021-09-23 (Thu, 23 Sep 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp

  Log Message:
  -----------
  [AMDGPU] Avoid processing functions in amdgpu-propagate-attributes pass for shaders

The pass amdgpu-propagate-attributes ("Early/Late propagate attributes
from kernels to functions") is currently run also for shaders, where
it does nothing. Modify the check so the pass only processes functions
for kernels.

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




More information about the All-commits mailing list