This produces better code by avoiding repacking in some cases.
Fixes: SWDEV-373436
Paths
| Differential D141329
[AMDGPU] Cast sub-dword elements to i32 in concat_vectors ClosedPublic Authored by rampitec on Jan 9 2023, 3:05 PM.
Details Summary This produces better code by avoiding repacking in some cases. Fixes: SWDEV-373436
Diff Detail Event TimelineComment Actions Commit message? Can?
This revision is now accepted and ready to land.Jan 9 2023, 3:15 PM rampitec retitled this revision from [AMDGPU] Can sub-dword elements to i32 in concat_vectors to [AMDGPU] Cast sub-dword elements to i32 in concat_vectors.Jan 9 2023, 3:17 PM This revision was landed with ongoing or failed builds.Jan 9 2023, 3:36 PM Closed by commit rGc8ed36281a92: [AMDGPU] Cast sub-dword elements to i32 in concat_vectors (authored by rampitec). · Explain Why This revision was automatically updated to reflect the committed changes. rampitec marked an inline comment as done.
Revision Contents
Diff 487568 llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
llvm/test/CodeGen/AMDGPU/vector_shuffle.packed.ll
|
Not sure we'll reach here with i8 vectors