[llvm] [DFAJumpThreading] Prevent pass from using too much memory. (PR #145482)
    Bushev Dmitry via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jun 24 02:43:52 PDT 2025
    
    
  
dybv-sc wrote:
Example of this pass using too much memory:
Compilation of function `Perl_sv_vcatpvfn_flags` of module `sv.c` from `600.perlbench_s` benchmark with `-mllvm --enable-dfa-jump-thread` uses up to 16GB of heap. Almost all of this memory is allocated for threading paths. With the fix applied memory consumption shrinks down to less than ~500 MB.
https://github.com/llvm/llvm-project/pull/145482
    
    
More information about the llvm-commits
mailing list