Ran out of registers error in llc
qcolombet at apple.com
Mon Jun 9 14:43:20 PDT 2014
On Jun 2, 2014, at 10:54 AM, Danna bib <danna1364 at gmail.com> wrote:
> Hello all,
> I am working with LLVM 3.4. I reserved half of arm registers in order to do some optimization in backend (after register allocation). It works fine with several SPEC2006 benchmarks, but in some of them such as gcc and gobmk, I got the following error.
> "LLVM ERROR: ran out of registers during register allocation"
> So, my question is how I can solve that problem?
Without the input IR, this is hard to tell.
Could you try to reduce a test case with bugpoint and we can try to help from here.
The question though is why do you need to reserved so many registers?
> I would appreciate any advise you may have.
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
More information about the llvm-commits