[all-commits] [llvm/llvm-project] 6b92c7: AMDGPU: Fix creating illegally typed readfirstlane...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sat Feb 22 18:58:07 PST 2025


  Branch: refs/heads/users/arsenm/amdgpu/fix-creating-illegal-typed-readfirstlane-atomic-optimizer
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b92c78c07203ddf73e5ca135b5a50f98b4903d7
      https://github.com/llvm/llvm-project/commit/6b92c78c07203ddf73e5ca135b5a50f98b4903d7
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-02-23 (Sun, 23 Feb 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
    A llvm/test/CodeGen/AMDGPU/atomic-optimizer-promote-i8.ll
    M llvm/test/CodeGen/AMDGPU/atomic_optimizations_global_pointer.ll

  Log Message:
  -----------
  AMDGPU: Fix creating illegally typed readfirstlane in atomic optimizer

We need to promote 8/16-bit cases to 32-bit. Unfortunately we are
missing demanded bits optimizations on readfirstlane, so we end up emitting
an and instruction on the input.



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