[all-commits] [llvm/llvm-project] 5d4626: [AMDGPU] Enable divergence-driven 'ctpop' selection

alex-t via All-commits all-commits at lists.llvm.org
Fri Jan 7 05:05:08 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d46263a5ac5848042945155c3dbfeee39615d43
  Author: alex-t <alexander.timofeev at amd.com>
  Date:   2022-01-07 (Fri, 07 Jan 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstructions.td
    M llvm/lib/Target/AMDGPU/SOPInstructions.td
    A llvm/test/CodeGen/AMDGPU/divergence-driven-ctpop.ll

  Log Message:
  [AMDGPU] Enable divergence-driven 'ctpop' selection

This change adds the patterns and divergence predicates for the ctpop (bitcount) nodes
to make them selected according to the divergence.

Reviewed By: foad

Differential Revision: https://reviews.llvm.org/D116284

More information about the All-commits mailing list