[all-commits] [llvm/llvm-project] 3890a3: [AMDGPU] Use SSAUpdater in PromoteAlloca
Pierre van Houtryve via All-commits
all-commits at lists.llvm.org
Mon Jul 24 22:45:04 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3890a3b11398a58811098ff4d3a7ff949fea1143
https://github.com/llvm/llvm-project/commit/3890a3b11398a58811098ff4d3a7ff949fea1143
Author: pvanhout <pierre.vanhoutryve at amd.com>
Date: 2023-07-25 (Tue, 25 Jul 2023)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
M llvm/test/CodeGen/AMDGPU/fix-frame-reg-in-custom-csr-spills.ll
M llvm/test/CodeGen/AMDGPU/promote-alloca-array-aggregate.ll
M llvm/test/CodeGen/AMDGPU/promote-alloca-globals.ll
A llvm/test/CodeGen/AMDGPU/promote-alloca-loadstores.ll
M llvm/test/CodeGen/AMDGPU/promote-alloca-memset.ll
M llvm/test/CodeGen/AMDGPU/promote-alloca-pointer-array.ll
M llvm/test/CodeGen/AMDGPU/promote-alloca-vector-to-vector.ll
M llvm/test/CodeGen/AMDGPU/sroa-before-unroll.ll
M llvm/test/CodeGen/AMDGPU/vector-alloca-bitcast.ll
Log Message:
-----------
[AMDGPU] Use SSAUpdater in PromoteAlloca
This allows PromoteAlloca to not be reliant on a second SROA run to remove the alloca completely. It just does the full transformation directly.
Note PromoteAlloca is still reliant on SROA running first to
canonicalize the IR. For instance, PromoteAlloca will no longer handle aggregate types because those should be simplified by SROA before reaching the pass.
Reviewed By: #amdgpu, arsenm
Differential Revision: https://reviews.llvm.org/D152706
Commit: 3cd4afce5b18c1d179a53b21eae93122560b17c7
https://github.com/llvm/llvm-project/commit/3cd4afce5b18c1d179a53b21eae93122560b17c7
Author: pvanhout <pierre.vanhoutryve at amd.com>
Date: 2023-07-25 (Tue, 25 Jul 2023)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
M llvm/test/CodeGen/AMDGPU/promote-alloca-loadstores.ll
A llvm/test/CodeGen/AMDGPU/promote-alloca-subvecs.ll
Log Message:
-----------
[AMDGPU] Allow vector access types in PromoteAllocaToVector
Depends on D152706
Solves SWDEV-408279
Reviewed By: #amdgpu, arsenm
Differential Revision: https://reviews.llvm.org/D155699
Compare: https://github.com/llvm/llvm-project/compare/6cf817966199...3cd4afce5b18
More information about the All-commits
mailing list