1 ; RUN: opt -passes=globalopt < %s
3 ; Ensure we don't ICE by trying to optimize a scalable vector load of a global
6 %struct.xxx = type <{ [96 x i8] }>
8 @.bss = internal unnamed_addr global %struct.xxx zeroinitializer, align 32
10 define dso_local void @foo() local_unnamed_addr align 16 {
12 store [4 x <vscale x 2 x double>] zeroinitializer, ptr @.bss, align 1
13 %0 = load [4 x <vscale x 2 x double>], ptr @.bss, align 8