[all-commits] [llvm/llvm-project] 79e06b: [AMDGPU] Extended vector promotion to aggregate ty...

zGoldthorpe via All-commits all-commits at lists.llvm.org
Fri Jun 13 11:22:44 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 79e06bf1ae9961c5045134288fd8acc9173f6be2
      https://github.com/llvm/llvm-project/commit/79e06bf1ae9961c5045134288fd8acc9173f6be2
  Author: zGoldthorpe <Zach.Goldthorpe at amd.com>
  Date:   2025-06-13 (Fri, 13 Jun 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
    A llvm/test/CodeGen/AMDGPU/promote-alloca-structs.ll

  Log Message:
  -----------
  [AMDGPU] Extended vector promotion to aggregate types. (#143784)

Extends the `amdgpu-promote-alloca-to-vector` pass to also promote
aggregate types whose elements are all the same type to vector
registers.

The motivation for this extension was to account for IR generated by the
frontend containing several singleton struct types containing vectors or
vector-like elements, though the implementation is strictly more
general.



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