[clang] [llvm] [SROA] Vector promote some memsets (PR #133301)

via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 29 03:56:24 PDT 2025


================
@@ -1170,10 +1191,23 @@ class AllocaSlices::SliceBuilder : public PtrUseVisitor<SliceBuilder> {
     if (!IsOffsetKnown)
       return PI.setAborted(&II);
 
+    auto IsSplittable = [&]() {
----------------
macurtis-amd wrote:

Cleaned up code removes the helper altogether. Hopefully better now.

https://github.com/llvm/llvm-project/pull/133301


More information about the llvm-commits mailing list