[all-commits] [llvm/llvm-project] 51b1c2: [SROA] Pre-split overlapping move slices within a ...

John Brawn via All-commits all-commits at lists.llvm.org
Fri Sep 25 02:59:17 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51b1c275718891743493f3ed5d9e54d91a027e2d
      https://github.com/llvm/llvm-project/commit/51b1c275718891743493f3ed5d9e54d91a027e2d
  Author: John Brawn <john.brawn at arm.com>
  Date:   2026-09-25 (Fri, 25 Sep 2026)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SROA.cpp
    A llvm/test/Transforms/SROA/load-store-overlap.ll

  Log Message:
  -----------
  [SROA] Pre-split overlapping move slices within a partition (#210061)

When we have an overlapping load and store within an alloca, e.g. due to
a memmove that has been transformed into a load+store by InstCombine,
then currently SROA can't do anything with it. By pre-splitting such
loads and stores we eliminate any overlap between slices and thus SROA
can optimize them.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list