rjmccall added a comment.

Hmm.  I'm not sure I like the design of merging TBAAAccessInfo into 
LValueBaseInfo.  LValueBaseInfo is currently the set of information that's 
generally preserved across l-value manipulations.  It was extracted from LValue 
specifically to create an encapsulated entity that can just be mindlessly 
propagated in most of that code.  But if you merge TBAA information into it, 
then l-value manipulations need to be aware of its contents, in the same way 
they have to be aware of everything else they're storing in the new LValue.  
The fact that code needs to be aware of it suggests it should continue to be an 
explicit argument, or at the very least be combined with something else that 
l-value manipulations generally already need to be aware of, like the type.


https://reviews.llvm.org/D38126



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

Reply via email to