[llvm] [SROA] Use tree-structure merge to remove alloca (PR #152793)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 22 14:06:07 PDT 2025
================
@@ -0,0 +1,478 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt < %s -passes='sroa<preserve-cfg>' -S | FileCheck %s --check-prefixes=CHECK,CHECK-PRESERVE-CFG
+; RUN: opt < %s -passes='sroa<modify-cfg>' -S | FileCheck %s --check-prefixes=CHECK,CHECK-MODIFY-CFG
+; RUN: opt < %s -passes=debugify,sroa -S | FileCheck %s --check-prefix=DEBUG
----------------
nikic wrote:
If you want to test debug info, use a separate test. debugify with generated check lines is too noisy.
https://github.com/llvm/llvm-project/pull/152793
More information about the llvm-commits
mailing list