[llvm] [Reassociate] Compute value ranks iteratively (PR #204952)

Justin Fargnoli via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 29 16:50:31 PDT 2026


================
@@ -0,0 +1,17 @@
+; RUN: opt -S -passes=reassociate < %s | FileCheck %s
+; RUN: %python %S/Inputs/deep-select-chain.py 65536 > %t.deep.ll
+; RUN: ulimit -s 8192 && opt -S -passes=reassociate < %t.deep.ll -o /dev/null
+; REQUIRES: system-linux
----------------
justinfargnoli wrote:

@rnk can you confirm that this is a reasonable way to write a test for a stack overflow? 

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


More information about the llvm-commits mailing list