Ran out of registers error in llc

Quentin Colombet qcolombet at apple.com
Mon Jun 9 14:43:20 PDT 2014


Hi Danna,

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?

Thanks,
-Quentin

> 
> I would appreciate any advise you may have.
> 
> regards,
> Danna
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list