The TBAA information for union members may be wrong, and in the current form TBAA cannot represent them correctly.
This is a follow-up to this thread from llvm-dev:
http://lists.llvm.org/pipermail/llvm-dev/2017-April/111859.html
This fixes http://llvm.org/PR32056
I'm not sure if this is a complete list of different ways to get a union member.