[llvm-bugs] [Bug 48449] New: "WebAssembly Fix Irreducible Control Flow" pass OOMs on a huge function
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Wed Dec  9 00:50:07 PST 2020
    
    
  
https://bugs.llvm.org/show_bug.cgi?id=48449
            Bug ID: 48449
           Summary: "WebAssembly Fix Irreducible Control Flow" pass OOMs
                    on a huge function
           Product: new-bugs
           Version: 11.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: mejedi at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
Created attachment 24250
  --> https://bugs.llvm.org/attachment.cgi?id=24250&action=edit
LLVM IR that causes OOM
Clang/lib/AST/Interp/Disasm.cpp takes excessive time and resources to compile
when targeting WebAssembly. Memory usage exceeds 10GiB. It tends to OOM in
smaller machines.
The frontend completes without issues.
When running
clang -c Disasm.bc -mllvm -debug-pass=Executions
the last line printed before OOM is
[2020-12-08 19:16:08.463129734] 0x2d4fc70 Executing Pass 'WebAssembly Fix
Irreducible Control Flow' on Function
'_ZNK5clang6interp8Function4dumpERN4llvm11raw_ostreamE'
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201209/67a0c5e6/attachment.html>
    
    
More information about the llvm-bugs
mailing list