[llvm-commits] [llvm-gcc-4.2] r47180 - in /llvm-gcc-4.2/trunk/gcc: llvm-convert.cpp llvm-internal.h llvm-types.cpp
Duncan Sands
baldrick at free.fr
Mon Feb 18 04:20:38 PST 2008
> > if this means that ConvertUNION doesn't have to
> > muck around with fixing up padding elements anymore,
> > can you please remove that code.
>
> I don't know why that code is there (it goes back to the first svn
> checkin) but I don't think anything I did would make it unnecessary.
I guess it is there because what is padding for one union field may
not be padding for another. If there is now a map from the gcc type
to the padding info, then this should, I suppose, be tweaked so it
doesn't change the padding info for the type of the field, but for
the type of the union.
Ciao,
Duncan.
More information about the llvm-commits
mailing list