[LLVMdev] Brain dump on type merging

Michael Haidl haidl at pacxx.org
Thu Dec 4 03:54:59 PST 2014

+1 – for opaque pointers. One improvement from my point of view: the runtime of passes performing heavy type transformations will probably go down by avoiding lookups in the TypeRemapper’s type map for each instruction. 



Von: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] Im Auftrag von Chandler Carruth
Gesendet: Donnerstag, 4. Dezember 2014 10:23
An: Hal Finkel
Cc: llvm-commits; LLVM Developers Mailing List
Betreff: Re: [LLVMdev] Brain dump on type merging



On Thu, Dec 4, 2014 at 1:18 AM, Hal Finkel <hfinkel at anl.gov <mailto:hfinkel at anl.gov> > wrote:

+1 -- We don't need types on pointers -- they don't convey any information to the optimizer. FWIW, it would not surprise me if the elimination of all of the unnecessary pointer bitcasts produces measurable compile-time savings.



I'm actually interested in looking at this if no one else gets to it first. (for me, it's after the pass manager at the least) If someone else is able to hack on this though, it would be awesome. I think it'll actually help LTO quite a lot by reducing the footprint of the IR.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141204/1a9686f8/attachment.html>

More information about the llvm-dev mailing list