1 ; RUN: opt -passes=instcombine -S < %s | FileCheck %s
3 %class.Arr = type <{ [160 x %class.Derived], i32, [4 x i8] }>
4 %class.Derived = type { %class.Base, ptr }
5 %class.Base = type { ptr }
7 @array = hidden thread_local global %class.Arr zeroinitializer, align 32
8 ; CHECK: @array{{.*}}align 32
10 @_ZTV7Derived = constant { [4 x ptr] } { [4 x ptr] [ptr null, ptr null, ptr null, ptr null] }, align 8
12 define internal fastcc void @foo() unnamed_addr {
14 store <8 x ptr> <ptr getelementptr inbounds ({ [4 x ptr] }, ptr @_ZTV7Derived, i64 0, i32 0, i64 2), ptr null, ptr getelementptr inbounds ({ [4 x ptr] }, ptr @_ZTV7Derived, i64 0, i32 0, i64 2), ptr null, ptr getelementptr inbounds ({ [4 x ptr] }, ptr @_ZTV7Derived, i64 0, i32 0, i64 2), ptr null, ptr getelementptr inbounds ({ [4 x ptr] }, ptr @_ZTV7Derived, i64 0, i32 0, i64 2), ptr null>, ptr @array, align 32
18 !llvm.module.flags = !{!0}
19 !0 = !{i32 1, !"MaxTLSAlign", i32 256}