diff options
author | zGoldthorpe <Zach.Goldthorpe@amd.com> | 2025-06-13 12:22:21 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-13 14:22:21 -0400 |
commit | 79e06bf1ae9961c5045134288fd8acc9173f6be2 (patch) | |
tree | 03cab34645862059cb01239fe10c51c4af469a75 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 24bbc820701b49ab8bc7b9670034e39e11da8a16 (diff) | |
download | llvm-79e06bf1ae9961c5045134288fd8acc9173f6be2.zip llvm-79e06bf1ae9961c5045134288fd8acc9173f6be2.tar.gz llvm-79e06bf1ae9961c5045134288fd8acc9173f6be2.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions