aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/libclang/LibclangTest.cpp
diff options
context:
space:
mode:
authorpvanhout <pierre.vanhoutryve@amd.com>2023-06-28 12:22:26 +0200
committerpvanhout <pierre.vanhoutryve@amd.com>2023-07-25 07:44:47 +0200
commit3890a3b11398a58811098ff4d3a7ff949fea1143 (patch)
tree49c042417a7c6e6fb227e0f693e9c67dbf4047d6 /clang/unittests/libclang/LibclangTest.cpp
parent6cf8179661997f8d512cdf944f4f4c0c01cb37c1 (diff)
downloadllvm-3890a3b11398a58811098ff4d3a7ff949fea1143.zip
llvm-3890a3b11398a58811098ff4d3a7ff949fea1143.tar.gz
llvm-3890a3b11398a58811098ff4d3a7ff949fea1143.tar.bz2
[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
Diffstat (limited to 'clang/unittests/libclang/LibclangTest.cpp')
0 files changed, 0 insertions, 0 deletions