[all-commits] [llvm/llvm-project] 6f0502: AMDGPU: Add baseline tests for some bitcast lowering

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Feb 4 01:30:44 PST 2025


  Branch: refs/heads/users/arsenm/dag/promoteintres-bitcast-avoid-stack-vector-to-int
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f050230d0a3197a0ad21a4e469f3bac2053a87a
      https://github.com/llvm/llvm-project/commit/6f050230d0a3197a0ad21a4e469f3bac2053a87a
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-02-04 (Tue, 04 Feb 2025)

  Changed paths:
    A llvm/test/CodeGen/AMDGPU/bitcast_vector_bigint.ll

  Log Message:
  -----------
  AMDGPU: Add baseline tests for some bitcast lowering

These introduce stack lowering. Somehow it manages to get cleaned
up in the gfx9 cases (leaving a dead object behind), but gfx12
still has leftover memory instructions.


  Commit: 8810bee6902c21b81fc5fcf8d38c19d962536b52
      https://github.com/llvm/llvm-project/commit/8810bee6902c21b81fc5fcf8d38c19d962536b52
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-02-04 (Tue, 04 Feb 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
    M llvm/test/CodeGen/AMDGPU/bitcast_vector_bigint.ll
    M llvm/test/CodeGen/AMDGPU/buffer-fat-pointers-contents-legalization.ll
    M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-lastuse-metadata.ll
    M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-nontemporal-metadata.ll

  Log Message:
  -----------
  DAG: Avoid introducing stack usage in vector->int bitcast int op promotion

Avoids stack usage in the v5i32 to i160 case for AMDGPU, which appears
in fat pointer lowering.


  Commit: 4b47549ecf7839baa9e465ba9b138023d734329e
      https://github.com/llvm/llvm-project/commit/4b47549ecf7839baa9e465ba9b138023d734329e
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-02-04 (Tue, 04 Feb 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp

  Log Message:
  -----------
  Skip big endian for now


Compare: https://github.com/llvm/llvm-project/compare/5b18109cbd77...4b47549ecf78

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