[all-commits] [llvm/llvm-project] 6b5afd: [AMDGPU] Support bfloat comparison for ballot intr...

Changpeng Fang via All-commits all-commits at lists.llvm.org
Thu Oct 30 09:44:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b5afdc3ab3e2791baa1946acb4ee3f0b6db8ce3
      https://github.com/llvm/llvm-project/commit/6b5afdc3ab3e2791baa1946acb4ee3f0b6db8ce3
  Author: Changpeng Fang <changpeng.fang at amd.com>
  Date:   2025-10-30 (Thu, 30 Oct 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ballot.i32.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ballot.i64.ll

  Log Message:
  -----------
  [AMDGPU] Support bfloat comparison for ballot intrinsic (#165495)

We do not have native instructions for direct bfloat comparisons.
However, we can expand bfloat to float, and do float comparison instead.

TODO: handle bfloat comparison for ballot intrinsic on global isel path.

Fixes: SWDEV-563403



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