Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

llc.exe out of memory on Intel cpu family 6, model 58, Intel(R) Core(TM) i7-3770K CPU #196

Open
lovettchris opened this issue Feb 5, 2019 · 1 comment

Comments

@lovettchris
Copy link
Member

See my gist for details and repo bitcode:
https://gist.github.com/lovettchris/b9c03f3506c0d972bf58d5c89f8bb08a

With the model.bc bitcode included there first run LLVM opt:

opt.exe model.bc -o model.opt.bc -O3

which completes fine, but then the following hangs for long time then runs out of memory.

llc.exe model.opt.bc -o model.o -O3 -filetype=obj -relocation-model=pic

others are reporting the same problem. But it does not repo on haswell CPU's. I included some stack traces that I gathered in the gist.

The perf trace shows memory shoots up after about 8 minutes:
image

@yunqu
Copy link

yunqu commented Apr 2, 2019

LLVM hangs for me as well, on a ubuntu linux box.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants