Carlos Seo
Carlos Seo
Fixed by #86144
> Although that is supposed to be fixed here: #70267 > > So not entirely sure what the problem is... My PR hasn't been merged yet. Someone else mentioned a...
@Leporacanthicus my suggestion would be to approve this PR and I'd add a comment stating that, in the future, it would be better to remove the compiler-rt dependency, like X86...
> Thanks for the reproducer. I've not looked in great detail, but it may be something to do with the inline assembly blocks in the code. I was compiling the...
> Is it -O0 by any chance? If so it would not be a surprise to see unoptimized code. No. It's just getting flags passed to cmake (in this case,...
@davemgreen I stand corrected. I rechecked this and it's -O0. Sorry about that... it's very convoluted to get the correct compiler options for these tests.
This looks like a stack starvation caused by the recursive calls in `ConstantFoldInsertValueInstruction`. Working on a fix.
@yus3710-fj could you please test [this patch](https://github.com/llvm/llvm-project/compare/main...ceseo:llvm-project:pr77877) and see if it solves the problem for you? It takes hours to compile your first example, but memory usage is constant.
@yus3710-fj thanks! I'll submit the PR.