[llvm] [LSROA] Add logical SROA pass (PR #192058)

Nathan Gauër via llvm-commits llvm-commits at lists.llvm.org
Mon May 4 02:39:15 PDT 2026


================
@@ -15318,6 +15318,27 @@ If the source pointer is poison, the instruction returns poison.
 The resulting pointer belongs to the same address space as ``source``.
 This instruction does not dereference the pointer.
 
+Aliasing rules:
+"""""""""""""""
+
+Common :ref:`aliasing rules <pointeraliasing>` apply to pointers returned
+by this intrinsic, as well as the following additional rules:
+
+- A pointer returned by `@llvm.structured.gep` for a given element is
+  considered not to alias with pointers the instruction would return for
+  a sibling element.
----------------
Keenuts wrote:

Ah I like the "prefix" for indices. Better than siblings

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


More information about the llvm-commits mailing list