Go to file
Chris Lattner 3cff64ab58 fix a bogus assertion exposed by a recent change: packing the
struct may cause it to shrink more than one byte.  Before
my recent changes we compiled the new test into:

%0 = type { [6 x i8] }
@x = global %0 { [6 x i8] undef }, align 2        ; <%0*> [#uses=0]

which is obviously bogus.  Now we compile it into:

%0 = type <{ i32, i8, i8 }>
@x = global %0 zeroinitializer, align 2           ; <%0*> [#uses=0]

Where the last byte only is tail padding.

llvm-svn: 101536
2010-04-16 21:02:32 +00:00
clang fix a bogus assertion exposed by a recent change: packing the 2010-04-16 21:02:32 +00:00
compiler-rt add include of int_lib.h to match change to use compilerrt_abort() 2010-04-15 20:37:56 +00:00
llvm Commit this, which should have accompanied 101531. 2010-04-16 20:22:43 +00:00