[all-commits] [llvm/llvm-project] db6f47: AMDGPU: Use "countMaxActiveBits() <= 5" to define ...

Changpeng Fang via All-commits all-commits at lists.llvm.org
Fri Nov 8 13:03:15 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db6f476e8e29c42691a3c3ea97d7230af2be5df8
      https://github.com/llvm/llvm-project/commit/db6f476e8e29c42691a3c3ea97d7230af2be5df8
  Author: Changpeng Fang <changpeng.fang at amd.com>
  Date:   2024-11-08 (Fri, 08 Nov 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstructions.td
    M llvm/test/CodeGen/AMDGPU/extract-lowbits.ll

  Log Message:
  -----------
  AMDGPU: Use "countMaxActiveBits() <= 5" to define uint5Bits (#115543)

countMaxTrailingOnes() is not correct. This patch follows the suggestion
from https://github.com/llvm/llvm-project/pull/115372.



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