[llvm-dev] Need to help on how to write An LLVM Register Allocator pass

Balasaheb Dabhade via llvm-dev llvm-dev at lists.llvm.org
Tue Mar 8 11:10:16 PST 2016


Hello All,

I wanted to write new register allocation pass. To start with, I have used
graph coloring based allocation sample file[Gcra.cpp].  I am tring build
the LLVM after dropping this file into lib/CodeGen, and adding references
to createGcra to include/lib/CodeGen/Passes.h and
include/lib/CodeGen/LinkAllCodeGenComponents.h.

I am getting following error while building the LLVM.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160309/4fc75b07/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Gcra.cpp
Type: text/x-c++src
Size: 6168 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160309/4fc75b07/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Passes.h
Type: text/x-chdr
Size: 21748 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160309/4fc75b07/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LinkAllCodegenComponents.h
Type: text/x-chdr
Size: 2127 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160309/4fc75b07/attachment-0001.h>


More information about the llvm-dev mailing list