aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ArchiveWriter.cpp
diff options
context:
space:
mode:
authorMariusz Sikora <mariusz.sikora@amd.com>2024-01-12 08:26:08 +0100
committerGitHub <noreply@github.com>2024-01-12 08:26:08 +0100
commit2b83ceee3d2736cff89ece661683e3507aafcc6c (patch)
tree5e3d0dcf9c2a001e7b9196d5693978ab891e7bba /llvm/lib/Object/ArchiveWriter.cpp
parent528cd28de83c0a4bef74cec69038005c4a24d724 (diff)
downloadllvm-2b83ceee3d2736cff89ece661683e3507aafcc6c.zip
llvm-2b83ceee3d2736cff89ece661683e3507aafcc6c.tar.gz
llvm-2b83ceee3d2736cff89ece661683e3507aafcc6c.tar.bz2
[AMDGPU][GFX12] Default component broadcast store (#76212)
For image and buffer stores the default behaviour on GFX12 is to set all unset components to the value of the first component. So if we pass only X component, it will be the same as XXXX, or XY same as XYXX. This patch simplifies the passed vector of components in InstCombine by removing components from the end that are equal to the first component. For image stores it also trims DMask if necessary. --------- Co-authored-by: Mateja Marjanovic <mmarjano@amd.com>
Diffstat (limited to 'llvm/lib/Object/ArchiveWriter.cpp')
0 files changed, 0 insertions, 0 deletions