[PATCH] D26438: [Verifier] Add verification for TBAA metadata

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 10 11:03:29 PST 2016


sanjoy added a comment.

>   You can tell from the usage case. If it is the 2nd field of a struct tag node, it should be a scalar node. Being a scalar node means we don't have to check the offset (the offset should be zero).

Given that, what do you think of the verification rule this patch has right now -- access types must satisfy `IsScalarLikeTBAANode`?


https://reviews.llvm.org/D26438





More information about the llvm-commits mailing list