[PATCH] D39953: [CodeGen] Generate TBAA type descriptors in a more reliable manner

Ivan Kosarev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 20 05:19:01 PST 2017


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





More information about the cfe-commits mailing list