Generate path-aware tbaa for unions. This fixes an aliasing issue described in bug 21725.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Further investigation shows that llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp is not ready to handle struct types where multiple members have the same (0) offset. The clang fix only makes sense once that issue is resolved.
Comment Actions
Can you work on this? If not (or even if you can), can you file a bug report with an example?