[llvm] [SROA] Fix assertion failure when promoting self-referential load/store (PR #208826)
Yonah Goldberg via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 10 18:47:34 PDT 2026
================
@@ -0,0 +1,22 @@
+; RUN: opt --passes=sroa %s -S -o - 2>&1 | FileCheck %s
+
+; Ensure no crash when a store's value operand is the load being promoted,
+; creating a self-referential cycle in unreachable code.
+
+target triple = "x86_64-unknown-linux-gnu"
----------------
YonahGoldberg wrote:
Don't think we need a target triple. Can you also rename this file to be more descriptive?
https://github.com/llvm/llvm-project/pull/208826
More information about the llvm-commits
mailing list