[all-commits] [llvm/llvm-project] d4e97b: AMDGPU: Simplify demanded bits on readlane/writeli...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Dec 2 05:36:31 PST 2024


  Branch: refs/heads/users/arsenm/amdgpu-simplify-demanded-readlane-index
  Home:   https://github.com/llvm/llvm-project
  Commit: d4e97b490621bbb45ce52bc6ad81c869bb84a4e4
      https://github.com/llvm/llvm-project/commit/d4e97b490621bbb45ce52bc6ad81c869bb84a4e4
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-12-02 (Mon, 02 Dec 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
    M llvm/test/Transforms/InstCombine/AMDGPU/lane-index-simplify-demanded-bits.ll

  Log Message:
  -----------
  AMDGPU: Simplify demanded bits on readlane/writeline index arguments

The main goal is to fold away wave64 code when compiled for wave32.
If we have out of bounds indexing, these will now clamp down to
a low bit which may CSE with the operations on the low half of the
wave.


  Commit: 585d57c83e20d4ba4ccce3cba38f0aa1e7c0f33a
      https://github.com/llvm/llvm-project/commit/585d57c83e20d4ba4ccce3cba38f0aa1e7c0f33a
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-12-02 (Mon, 02 Dec 2024)

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

  Log Message:
  -----------
  Just use getWavefrontSizeLog2


  Commit: 5a617f85379e58ab62ea634a0c00627b1deb1161
      https://github.com/llvm/llvm-project/commit/5a617f85379e58ab62ea634a0c00627b1deb1161
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-12-02 (Mon, 02 Dec 2024)

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

  Log Message:
  -----------
  Reword comment


Compare: https://github.com/llvm/llvm-project/compare/4c11c64bac4b...5a617f85379e

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list