kosarev added a comment.

In https://reviews.llvm.org/D39953#929144, @rjmccall wrote:

> I think there might be some cases that intentionally don't cache their normal 
> result, though, so it might be harder than you think.


My understanding is that conceptually every canonical type has a single 
corresponding type node; we shall never return different nodes for the same 
type. With the updated patch we cache nodes for all types, including different 
versions of char. This is supposed to be an improvement saving us some 
execution time.


https://reviews.llvm.org/D39953



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to