fmayer wrote:

Verified this is NFC:

```
fmayer ~/large/llvm-project
% git show -q 
commit 4b4294473280a8e37d818a9362e33544799cb4e4 (HEAD -> main, origin/main, 
origin/HEAD)
Author: Mircea Trofin <[email protected]>
Date:   Thu Dec 4 13:01:46 2025 -0800

    [profcheck] Don't verify generated global ctors/dtors (#170597)
    
    Functions listed in `llvm.global_ctors` or `llvm.global_dtors` aren't too 
interesting for performance. Passes like LowerTypeTests synthesize some of 
these, and, while we could add a "0" entry count explicitly, we can also just 
not bother verifying in the first place.
fmayer ~/large/llvm-project
% grep -h RUN clang/test/Driver/fsanitize*.c | sort > ~/baseline
fmayer ~/large/melver_llvm
% git show -q
commit 863dffd31478de6f66f79e771e36b038de7800c1 (HEAD -> for-pull, 
origin/for-pull)
Author: Marco Elver <[email protected]>
Date:   Fri Nov 28 16:30:15 2025 +0100

    [Clang][Driver] Split fsanitize.c test
    
    The fsanitize.c test is one of the slowest tests we have:
    ```
    -- Testing: 1 tests, 1 workers --
    PASS: Clang :: Driver/fsanitize.c (1 of 1)
    
    Testing Time: 18.42s
    ```
    
    It has become the single monolithic test for almost all -fsanitize=
    options. Given its current size, it makes sense to split it up into
    smaller focused tests to allow for better parallelization but also help
    the FileCheck tool by reducing number of lines to check.
    
    The new test time with parallelization on my machine is:
    ```
    -- Testing: 16 tests, 16 workers --
    PASS: Clang :: Driver/fsanitize-numerical.c (1 of 16)
    PASS: Clang :: Driver/fsanitize-safe-stack.c (2 of 16)
    PASS: Clang :: Driver/fsanitize-memtag.c (3 of 16)
    PASS: Clang :: Driver/fsanitize-realtime.c (4 of 16)
    PASS: Clang :: Driver/fsanitize-baremetal.c (5 of 16)
    PASS: Clang :: Driver/fsanitize-scudo.c (6 of 16)
    PASS: Clang :: Driver/fsanitize-trap.c (7 of 16)
    PASS: Clang :: Driver/fsanitize-leak.c (8 of 16)
    PASS: Clang :: Driver/fsanitize-recover.c (9 of 16)
    PASS: Clang :: Driver/fsanitize-skip-hot-cutoff.c (10 of 16)
    PASS: Clang :: Driver/fsanitize-minimal-runtime.c (11 of 16)
    PASS: Clang :: Driver/fsanitize-cfi.c (12 of 16)
    PASS: Clang :: Driver/fsanitize-merge.c (13 of 16)
    PASS: Clang :: Driver/fsanitize-annotate-debug-info.c (14 of 16)
    PASS: Clang :: Driver/fsanitize-undefined.c (15 of 16)
    PASS: Clang :: Driver/fsanitize.c (16 of 16)
    
    Testing Time: 7.10s
    ```
    
    The original Driver/fsanitize.c test remains for tests where it is
    unclear that a single feature is being tested in isolation.
    
    NFC.
fmayer ~/large/melver_llvm
% grep -h RUN clang/test/Driver/fsanitize*.c | sort > ~/melver 
fmayer ~/large/melver_llvm
% diff -u ~/baseline ~/melver
fmayer ~/large/melver_llvm
%
```

https://github.com/llvm/llvm-project/pull/169952
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to