search for: pbqp2

Displaying 3 results from an estimated 3 matches for "pbqp2".

Did you mean: pbqp
2009 Oct 21
0
[LLVMdev] request for help writing a register allocator
Lang - I've made some progress writing my register allocator, but now I'm stuck. I have 2 questions for you: 1. I tried running the PBQP allocator (as a dynamic pass), but that didn't work. When I type this: llc -f -load Debug/lib/regalloc.so -regalloc=pbqp simple.bc I get the following error: llc:
2009 Oct 22
4
[LLVMdev] request for help writing a register allocator
...-regalloc=pbqp" option is already available in llc. If you've built a copy of the PBQP allocator in a separate library it will try to re-register that same option, triggering the assertion you're seeing. You can probably get around this by just changing the option in your copy to "pbqp2". 2. I tried writing a very simple register allocator. It works as follows... <snip> > This allocator works on very simple C code, but fails (with an > uninformative segmentation fault) as soon as I include a call to scanf, or a > loop, or an if-else. > There are any n...
2009 Oct 20
7
[LLVMdev] request for help writing a register allocator
Hi Susan, > You may find the PBQP allocator implementation useful as a reference > to what's involved in adding a new allocator to LLVM. It's located in > lib/CodeGen/RegAllocPBQP.cpp, with supporting files in the lib/CodeGen/ > PBQP directory. > Yes - as far as working allocators go PBQP is pretty simple. If you're just interested in LLVM API details you can focus on