[clang] [llvm] [SROA] Canonicalize homogeneous structs to fixed vectors (opt-in, after memcpyopt) (PR #165159)

Antonio Frighetto via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 8 06:51:28 PDT 2026


================
@@ -0,0 +1,389 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6
+; RUN: opt -passes='sroa<aggregate-to-vector>,gvn,instcombine,simplifycfg' -S %s | FileCheck %s
----------------
antoniofrighetto wrote:

Why are we also testing `gvn,instcombine,simplifycfg` here? Is this needed?

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


More information about the cfe-commits mailing list