<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">Thanks David (and Alex and Tim)</div><div class=""><br class=""></div><div class="">It is all a lot clearer now.</div><div class=""><br class=""></div><div class="">Cheers</div><div class=""><br class=""></div><div class="">David</div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On 26 Nov 2015, at 18:56, David Blaikie <<a href="mailto:dblaikie@gmail.com" class="">dblaikie@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Nov 26, 2015 at 10:51 AM, Alex Bradbury via llvm-dev <span dir="ltr" class=""><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">On 26 November 2015 at 18:23, David Power via llvm-dev<br class="">
<span class=""><<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:<br class="">
> Hello,<br class="">
><br class="">
> I am writing a compiler which outputs LLVM for my own custom language. Thanks to everybody who has contributed to the project it really is an impressive tool chain.<br class="">
><br class="">
> I downloaded the 3.7 release from the website and I noticed that there had been a change to getelementptr.<br class="">
><br class="">
> I can see the new syntax in the latest version of the Language Reference Manual but I could find no other reference to the change.<br class="">
><br class="">
> Is there a definitive list of language changes for each release of LLVM? Also, are there any more planned changes that are in the pipeline?<br class=""></span></blockquote><div class=""><br class=""></div><div class="">As for further changes - yeah, there's probably at least one more change to the IR that'll happen (byval) and a lot of changes to internal APIs as the typeless pointer work comes along. For more details I gave a talk at the LLVM Dev meeting this year: <a href="https://www.youtube.com/watch?v=OWgWDx_gB1I" class="">https://www.youtube.com/watch?v=OWgWDx_gB1I</a></div><div class=""> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">
<br class="">
</span>Hi David,<br class="">
<br class="">
The definitive list of changes is of course the commit log. The<br class="">
release notes usually do a pretty good job of summarising changes<br class="">
<a href="http://llvm.org/releases/3.7.0/docs/ReleaseNotes.html" rel="noreferrer" target="_blank" class="">http://llvm.org/releases/3.7.0/docs/ReleaseNotes.html</a> and does include<br class="">
some info on the removal of pointer types:<br class="">
<br class="">
"""<br class="">
LLVM IR and APIs are in a period of transition to aid in the removal<br class="">
of pointer types (the end goal being that pointers are typeless/opaque<br class="">
- void*, if you will). Some APIs and IR constructs have been modified<br class="">
to take explicit types that are currently checked to match the target<br class="">
type of their pre-existing pointer type operands. Further changes are<br class="">
still needed, but the more you can avoid using<br class="">
PointerType::getPointeeType, the easier the migration will be.<br class="">
"""<br class="">
<br class="">
I do my best to point out changes that will effect out-of-tree targets<br class="">
or developers targeting LLVM in LLVM Weekly (<a href="http://llvmweekly.org/" rel="noreferrer" target="_blank" class="">http://llvmweekly.org/</a>)<br class="">
and try to highlight mailing list discussions regarding future<br class="">
changes. e.g. many of these changes were discussed here<br class="">
<a href="http://article.gmane.org/gmane.comp.compilers.llvm.devel/81923" rel="noreferrer" target="_blank" class="">http://article.gmane.org/gmane.comp.compilers.llvm.devel/81923</a><br class="">
<br class="">
Best,<br class="">
<br class="">
Alex<br class="">
<div class=""><div class="h5">_______________________________________________<br class="">
LLVM Developers mailing list<br class="">
<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a><br class="">
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank" class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br class="">
</div></div></blockquote></div><br class=""></div></div>
</div></blockquote></div><br class=""></body></html>