Remove undef values from the end of the vector operand in image and
buffer store instructions.
Continuation of: 88421ea973916e Trim zero components from buffer and image stores.
Paths
| Differential D152440
[AMDGPU] Trim trailing undefs from the end of image and buffer store ClosedPublic Authored by matejam on Jun 8 2023, 6:02 AM.
Details Summary Remove undef values from the end of the vector operand in image and Continuation of: 88421ea973916e Trim zero components from buffer and image stores.
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Jun 15 2023, 6:10 AM This revision was landed with ongoing or failed builds.Jun 15 2023, 6:20 AM Closed by commit rG7047cb520373: [AMDGPU] Trim trailing undefs from the end of image and buffer store (authored by matejam). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 531723 llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-simplify-image-buffer-stores.ll
|
I don't think there's any need for this. Almost everything is an Instruction or a Constant, and anything that is not will just break out of the loop on the first iteration anyway.