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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Dec 6 07:31:37 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c74e2232f226b95d1cf73b9835ec1691a2022010
      https://github.com/llvm/llvm-project/commit/c74e2232f226b95d1cf73b9835ec1691a2022010
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-12-06 (Fri, 06 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 (#117963)

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.



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