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

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


  Branch: refs/heads/users/arsenm/dag/avoid-stack-usage-promote-int-op-bitcast
  Home:   https://github.com/llvm/llvm-project
  Commit: f25b783778f397a9253e90d94265f5e3c958a7ca
      https://github.com/llvm/llvm-project/commit/f25b783778f397a9253e90d94265f5e3c958a7ca
  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: 35dbabd5bd635a51043bfe36a6cca7a64231bbb2
      https://github.com/llvm/llvm-project/commit/35dbabd5bd635a51043bfe36a6cca7a64231bbb2
  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/de94495be940...35dbabd5bd63

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