[all-commits] [llvm/llvm-project] 566152: DAG: Avoid stack usage in bitcast operand promotio...

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


  Branch: refs/heads/users/arsenm/dag/avoid-stack-usage-promote-int-op-bitcast
  Home:   https://github.com/llvm/llvm-project
  Commit: 566152d227c915a3daf3c3b501ed8789c8425931
      https://github.com/llvm/llvm-project/commit/566152d227c915a3daf3c3b501ed8789c8425931
  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/ctpop16.ll
    M llvm/test/CodeGen/AMDGPU/kernel-args.ll
    M llvm/test/CodeGen/AMDGPU/load-constant-i16.ll
    M llvm/test/CodeGen/AMDGPU/load-constant-i8.ll
    M llvm/test/CodeGen/AMDGPU/load-global-i16.ll
    M llvm/test/CodeGen/AMDGPU/load-global-i8.ll
    M llvm/test/CodeGen/AMDGPU/min.ll
    M llvm/test/CodeGen/AMDGPU/shl.ll
    M llvm/test/CodeGen/AMDGPU/sra.ll

  Log Message:
  -----------
  DAG: Avoid stack usage in bitcast operand promotion to legal vector

Fix introducing stack usage if a bitcast source operand is an illegal
integer type cast to a legal vector type. This should cover more
situations, but this is the first one I noticed.


  Commit: c47a4b3f505a32b1d5ae0efd9ca614b8fe72056f
      https://github.com/llvm/llvm-project/commit/c47a4b3f505a32b1d5ae0efd9ca614b8fe72056f
  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/35dbabd5bd63...c47a4b3f505a

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