[libc-commits] [libc] [libc][regex] Increase NVPTX matcher limits test stack (PR #247295)
via libc-commits
libc-commits at lists.llvm.org
Mon Nov 30 11:48:06 PST 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: Caroline Rodewig (carodewig)
<details>
<summary>Changes</summary>
The `matcher_limits_test` [crashes](https://lab.llvm.org/staging/#/builders/248/builds/356) with a memory access error during `MultiByteChainReuseAndAltDerivative` on the A10 builder with the default 3 KiB device stack. This PR bumps the binary to a 16 KiB stack.
NB: I have not reproduced this exact failure - on a local RTX 5070 (`sm_120`), the same test fails at 2 KiB in `MultiByteChainReuseAndAltDerivative`, but passes at the default 3 KiB and at 16 KiB. That the failure is due to the default 3 KiB limit is a hypothesis based on similar recent failures (#<!-- -->246031, #<!-- -->244276).
Assisted-by: Devin
---
Full diff: https://github.com/llvm/llvm-project/pull/247295.diff
1 Files Affected:
- (modified) libc/test/src/__support/regex/CMakeLists.txt (+4)
``````````diff
diff --git a/libc/test/src/__support/regex/CMakeLists.txt b/libc/test/src/__support/regex/CMakeLists.txt
index baea3054db2ef6..cd8bb52ebe5b73 100644
--- a/libc/test/src/__support/regex/CMakeLists.txt
+++ b/libc/test/src/__support/regex/CMakeLists.txt
@@ -41,6 +41,10 @@ add_libc_test(
add_libc_test(
matcher_limits_test
+ # Deep derivative walks and alternation normalization exceed the default
+ # 3 KiB NVPTX device stack on some GPUs.
+ ENV
+ LIBOMPTARGET_STACK_SIZE=16384
SUITE
libc-support-tests
HDRS
``````````
</details>
https://github.com/llvm/llvm-project/pull/247295
More information about the libc-commits
mailing list