[PATCH] D156308: [AMDGPU] Fix PromoteAlloca Subvector Stores for Single Elements
Pierre van Houtryve via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 26 03:30:42 PDT 2023
Pierre-vh created this revision.
Pierre-vh added reviewers: AMDGPU, arsenm.
Herald added subscribers: foad, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
Pierre-vh requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
The previous condition was incorrect in some cases, like storing <2 x i32>
into a double. If IndexVal was >0, we ended up never storing anything.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D156308
Files:
llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
llvm/test/CodeGen/AMDGPU/promote-alloca-subvecs.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156308.544286.patch
Type: text/x-patch
Size: 8748 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230726/d6c7f28e/attachment.bin>
More information about the llvm-commits
mailing list