[all-commits] [llvm/llvm-project] 6c2bf9: [AMDGPU] InstCombine: fold invalid calls to amdgcn...

Yoonseo Choi via All-commits all-commits at lists.llvm.org
Thu Apr 16 10:53:13 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c2bf97994c949da8d3252e7fcb18a6d7c70b098
      https://github.com/llvm/llvm-project/commit/6c2bf97994c949da8d3252e7fcb18a6d7c70b098
  Author: Yoonseo Choi <yoonchoi at amd.com>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
    A llvm/test/Transforms/InstCombine/AMDGPU/llvm.amdgcn.cluster.id.ll
    A llvm/test/Transforms/InstCombine/AMDGPU/llvm.amdgcn.dispatch.id.ll
    A llvm/test/Transforms/InstCombine/AMDGPU/llvm.amdgcn.dispatch.ptr.ll
    A llvm/test/Transforms/InstCombine/AMDGPU/llvm.amdgcn.lds.kernel.id.ll
    A llvm/test/Transforms/InstCombine/AMDGPU/llvm.amdgcn.queue.ptr.ll
    A llvm/test/Transforms/InstCombine/AMDGPU/llvm.amdgcn.workgroup.id.ll
    A llvm/test/Transforms/InstCombine/AMDGPU/llvm.amdgcn.workitem.id.ll

  Log Message:
  -----------
  [AMDGPU] InstCombine: fold invalid calls to amdgcn intrinsics into poison values (#191904)

Replace a call to amdgpu intrinsic into a poison value when the call is
invalid because of "amdgpu-no-<xyz>" attribute in the caller function.

Upon
https://github.com/llvm/llvm-project/pull/186925#pullrequestreview-3983414064

Assisted by claude-4.6-sonnet-medium through CURSOR.



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