[all-commits] [llvm/llvm-project] 286d3f: [AMDGPU] Split R600 and GCN bfi patterns

Jay Foad via All-commits all-commits at lists.llvm.org
Mon Sep 28 02:17:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 286d3fc7500dfa6a947b217d0e87d1764d2242b8
      https://github.com/llvm/llvm-project/commit/286d3fc7500dfa6a947b217d0e87d1764d2242b8
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2020-09-28 (Mon, 28 Sep 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
    M llvm/lib/Target/AMDGPU/EvergreenInstructions.td
    M llvm/lib/Target/AMDGPU/SIInstructions.td

  Log Message:
  -----------
  [AMDGPU] Split R600 and GCN bfi patterns

This is in preparation for making the GCN patterns divergence-aware.
NFC.

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


  Commit: 2806f586dca78756cc2fbadf09c0859dda4a760e
      https://github.com/llvm/llvm-project/commit/2806f586dca78756cc2fbadf09c0859dda4a760e
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2020-09-28 (Mon, 28 Sep 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstructions.td
    M llvm/lib/Target/AMDGPU/SOPInstructions.td
    M llvm/test/CodeGen/AMDGPU/bfi_int.ll
    M llvm/test/CodeGen/AMDGPU/insert_vector_dynelt.ll
    M llvm/test/CodeGen/AMDGPU/insert_vector_elt.ll
    M llvm/test/CodeGen/AMDGPU/insert_vector_elt.v2i16.ll

  Log Message:
  -----------
  [AMDGPU] Make bfi patterns divergence-aware

This tends to increase code size but more importantly it reduces vgpr
usage, and could avoid costly readfirstlanes if the result needs to be
in an sgpr.

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


  Commit: bab1a17ad7761ae61e5841c2fb905de59cb8c2da
      https://github.com/llvm/llvm-project/commit/bab1a17ad7761ae61e5841c2fb905de59cb8c2da
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2020-09-28 (Mon, 28 Sep 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstructions.td
    M llvm/test/CodeGen/AMDGPU/insert_vector_elt.v2i16.ll
    M llvm/test/CodeGen/AMDGPU/shrink-add-sub-constant.ll

  Log Message:
  -----------
  [AMDGPU] Add bfi immediate pattern

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


Compare: https://github.com/llvm/llvm-project/compare/0c671bfe00a1...bab1a17ad776


More information about the All-commits mailing list