<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Feb 13, 2018 at 7:56 AM Rafael Avila de Espindola via llvm-commits <<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Teresa Johnson <<a href="mailto:tejohnson@google.com" target="_blank">tejohnson@google.com</a>> writes:<br>
<br>
> On Tue, Feb 13, 2018 at 7:00 AM, Rafael Avila de Espindola <<br>
> <a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>> wrote:<br>
><br>
>> Why do you want this?<br>
>><br>
>> The name of LLVM types should not be important. The cases that we<br>
>> already have are a hack and I think the agreed direction is to have a<br>
>> single pointer type. That would make the type graph a DAG which is<br>
>> trivial to merge.<br>
>><br>
><br>
> Hi Rafael,<br>
><br>
> See his explanation in the reply on <a href="https://reviews.llvm.org/D43077" rel="noreferrer" target="_blank">https://reviews.llvm.org/D43077</a> from<br>
> early yesterday. It is leaving bitcasts that are blocking optimization.<br>
<br>
This is very similar issue for why we have name handling in the IR mover<br>
at the moment.<br>
<br>
It is somewhat scary to add more name specific logic.<br>
<br>
David, what is the status on having opaque pointer types?<br></blockquote><div><br>Nothing new, unfortunately. It's still "IR changes mostly done (modulo some things like byval/inalloca and the cleanup after everything's done), passes need to be cleaned up to use the type information only from/to/on the instructions, not from the pointers" & I haven't come back around to it.<br><br>I can point folks to some of the techniques/tips/tricks I used to look into/do some of the porting & will hopefully come back around to it (might even be able to drag Chandler along once he's mostly out from under the pass manager).<br><br>- Dave<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers,<br>
Rafael<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div></div>