[all-commits] [llvm/llvm-project] a44c15: [AMDGPU][CodeGen] Implement SimplifyDemandedBitsFo...

Lakreite via All-commits all-commits at lists.llvm.org
Fri Apr 3 05:31:10 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a44c15874dbd22b4eeb99b5bbf604b569c41f63f
      https://github.com/llvm/llvm-project/commit/a44c15874dbd22b4eeb99b5bbf604b569c41f63f
  Author: Lakreite <lakreite at gmail.com>
  Date:   2026-04-03 (Fri, 03 Apr 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
    M llvm/test/CodeGen/AMDGPU/always-uniform.ll
    A llvm/test/CodeGen/AMDGPU/amdgpu-simplify-demanded-bits-readfirstlane.ll
    M llvm/test/CodeGen/AMDGPU/atomic_optimizations_global_pointer.ll
    M llvm/test/CodeGen/AMDGPU/fix-sgpr-copies-wwm.ll

  Log Message:
  -----------
  [AMDGPU][CodeGen] Implement SimplifyDemandedBitsForTargetNode for readfirstlane. (#190009)

Propagate demanded bits through readfirstlane intrinsic in
AMDGPUISelLowering with SimplifyDemandedBitsForTargetNode
implementation.

This allows upstream zero/sign extensions to be eliminated when only a
subset of bits is used after the intrinsic.

Partially addresses #128390.



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