[all-commits] [llvm/llvm-project] c80695: AMDGPU: Reduce readfirstlane for single demanded v...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Feb 27 22:03:31 PST 2025


  Branch: refs/heads/users/arsenm/amdgpu/simplify-demanded-vector-elts-readfirstlane
  Home:   https://github.com/llvm/llvm-project
  Commit: c80695c574ad315bc6b2db13d0dfca7379808eb8
      https://github.com/llvm/llvm-project/commit/c80695c574ad315bc6b2db13d0dfca7379808eb8
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-02-28 (Fri, 28 Feb 2025)

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

  Log Message:
  -----------
  AMDGPU: Reduce readfirstlane for single demanded vector element

If we are only extracting a single element, rewrite the intrinsic call
to use the element type. We should extend this to arbitrary extract
shuffles.



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