Open JavierASMR opened 10 months ago
@JavierASMR How much RAM do you have?
Note that it's just one large function with ~15k BBs
I've got 8GB of RAM. It's just this function. When it started three years ago the function wasn't that large. Maybe 2/3 of the current size. And I think I have compiled a much larger function without problem.
I have removed most of the function's code. This should be easier to track. bugpoint-reduced-function.zip
I have been experiencing this bug for three years. The compiler hangs when compiling with -O2 but not -O1. It does so whether I generate for x86_64 or arm. I attach the .bc file and the report. The latter includes towards its beginning:
LLVM ERROR: out of memory Allocation failed Stack dump:
I attach the report. The llc tool is still trying to cut down the problem, but at the pace it's going it will take it several years to complete. I have
bugpoint-reduced-simplifycfg.zip report_cut.txt