Fix IRGen for passing transparent unions
authorReid Kleckner <reid@kleckner.net>
Sat, 15 Nov 2014 01:41:41 +0000 (01:41 +0000)
committerReid Kleckner <reid@kleckner.net>
Sat, 15 Nov 2014 01:41:41 +0000 (01:41 +0000)
commitb1be683074685ea642efd932e006bc4427c2ed45
tree5e8d313c8226498b818fd82e693272efb60c0deb
parent83171b32ed25e06750175721042855ba808781cd
Fix IRGen for passing transparent unions

We have had a test for this for a long time with a FIXME saying what we
should be doing. This just does it.

Fixes PR21573.

llvm-svn: 222074
clang/lib/CodeGen/TargetInfo.cpp
clang/test/CodeGen/transparent-union.c