<div dir="auto"><br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">On 6 May 2017 16:08, "Perry E. Metzger via llvm-dev" <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Howdy!<br>
<br>
I've noticed that requests for help by people like me who are<br>
developing front ends are often lost in the noise in the llvm-dev<br>
list. Although LLVM is a wonderful and very productive framework, I've<br>
found that getting help on my front end has been very difficult, and<br>
learning necessary detail about the APIs and the like is often very,<br>
very challenging.<br>
<br>
Perhaps it would be good to set up a mailing list just for front end<br>
developers to provide mutual assistance to one another? That way we<br>
would not have to bother people working on optimizers or the back end<br>
with our stupid beginner questions, but there would still be a place<br>
to go to get assistance.<br>
<br>
It might also be nice to have a Wiki. I've learned a bunch of things<br>
about how to use the APIs over the last weeks as I've been fighting<br>
with the code, but I don't really have any good place to share the<br>
information I've learned with other people, so others can't learn<br>
from my experience. Some of the things I figured out took hours of<br>
work to figure out, and it would be nice to document them so other<br>
people don't have to do the same thing.</blockquote></div></div><div class="gmail_extra" dir="auto"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font color="#888888"></font></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I agree. I think the main problem is that there is no useful documentation on the IR builder api and the new passmanager and all the examples don't use the IR builder api but instead some older api. The only example is clang itself. I finally got the answers i needed from reading and understanding the clang source code. </div><div dir="auto">There are still many areas i am not sure about.</div><div dir="auto">E.g. when using the IR builder, do you need a builder module context per function or per BC file (group of functions).</div><div dir="auto"><br></div><div class="gmail_extra" dir="auto"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font color="#888888"><br></font></blockquote></div></div></div>