[all-commits] [llvm/llvm-project] 8d4b74: AMDGPU: Don't consider whether amdgpu-flat-work-gr...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Oct 22 13:24:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d4b74ac3f1fc90bef05ffb3ed7c0f7903f8ffe3
      https://github.com/llvm/llvm-project/commit/8d4b74ac3f1fc90bef05ffb3ed7c0f7903f8ffe3
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2021-10-22 (Fri, 22 Oct 2021)

  Changed paths:
    M llvm/docs/AMDGPUUsage.rst
    M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement-stack-lower.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.large.ll
    M llvm/test/CodeGen/AMDGPU/attr-amdgpu-waves-per-eu.ll
    A llvm/test/CodeGen/AMDGPU/default-flat-work-group-size-overrides-waves-per-eu.ll
    M llvm/test/CodeGen/AMDGPU/occupancy-levels.ll
    M llvm/test/CodeGen/AMDGPU/schedule-ilp.ll
    M llvm/test/CodeGen/AMDGPU/schedule-regpressure-limit3.ll
    M llvm/test/CodeGen/AMDGPU/target-cpu.ll

  Log Message:
  -----------
  AMDGPU: Don't consider whether amdgpu-flat-work-group-size was set

It should be semantically identical if it was set to the same value as
the default. Also improve the documentation.


  Commit: ec57b3755111bd81f5f3fd14b6d2489a2a205216
      https://github.com/llvm/llvm-project/commit/ec57b3755111bd81f5f3fd14b6d2489a2a205216
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2021-10-22 (Fri, 22 Oct 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp
    R llvm/test/CodeGen/AMDGPU/propagate-attributes-flat-work-group-size.ll
    A llvm/test/CodeGen/AMDGPU/propagate-flat-work-group-size.ll

  Log Message:
  -----------
  AMDGPU: Use attributor to propagate amdgpu-flat-work-group-size

This can merge the acceptable ranges based on the call graph, rather
than the simple application of the attribute. Remove the handling from
the old pass.


Compare: https://github.com/llvm/llvm-project/compare/cd824f9e39c8...ec57b3755111


More information about the All-commits mailing list