llvm-project
llvm-project copied to clipboard
Out-of-memory on Scalar Evolution on long loop'd expressions
| Bugzilla Link | 16869 |
| Resolution | FIXED |
| Resolved on | May 02, 2020 02:51 |
| Version | trunk |
| OS | Linux |
| Attachments | Intermediate source |
| Reporter | LLVM Bugzilla Contributor |
| CC | @ekatz |
Extended Description
The following intermediate crashes in Scalar Evolution when run through "opt" (rev 188181):
Stack dump: 0. Program arguments: ~/builds/llvm/bin/opt M.ll -O3 -S
-
Running pass 'CallGraph Pass Manager' on module 'M.ll'. -
Running pass 'Loop Pass Manager' on function '@repeated_expression' -
Running pass 'Induction Variable Simplification' on basic block '%for.body'
Segmentation fault
Running a 32 bit linux, the opt process rises in memory usage before suddenly crashing.
Fixed in LLVM 4.0.