[all-commits] [llvm/llvm-project] c986d4: AMDGPU: Update reqd-work-group-size optimization f...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Apr 12 17:03:14 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c986d476cd090fb8a535f02df02c280e7a815d2d
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-04-12 (Tue, 12 Apr 2022)

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

  Log Message:
  AMDGPU: Update reqd-work-group-size optimization for umin intrinsic

This code was pattern matching the ID computation expression as it
appears in the library. This was a compare and select, but now that
umin is canonical, we were no longer matching. Update to match the
intrinsic instead.

More information about the All-commits mailing list