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

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 16 07:04:37 PDT 2026


Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/192058 at github.com>


================
@@ -46,6 +46,13 @@ LLVM_ABI FunctionPass *createDeadStoreEliminationPass();
 //
 LLVM_ABI FunctionPass *createSROAPass(bool PreserveCFG = true);
 
+//===----------------------------------------------------------------------===//
+//
+// LSROA - Replace aggregates or pieces of aggregates with scalar SSA values
+// when used when logical allocation/GEP instructions.
----------------
antoniofrighetto wrote:

```suggestion
// when used with logical allocation/GEP instructions.
```

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


More information about the llvm-commits mailing list