1; RUN: llc < %s -mtriple=thumbv7-win32 -arm-global-merge | FileCheck %s
2
3@x = global i32 0, align 4
4@y = dllexport global i32 0, align 4
5
6define void @f1(i32 %a1, i32 %a2) {
7; CHECK: f1:
8; CHECK: movw [[REG1:r[0-9]+]], :lower16:.L_MergedGlobals
9; CHECK: movt [[REG1]], :upper16:.L_MergedGlobals
10  store i32 %a1, i32* @x, align 4
11  store i32 %a2, i32* @y, align 4
12  ret void
13}
14
15; CHECK: .lcomm .L_MergedGlobals,8,4
16; CHECK: .globl x
17; CHECK: .set x, .L_MergedGlobals
18; CHECK: .globl y
19; CHECK: .set y, .L_MergedGlobals+4
20; CHECK: .section .drectve,"yn"
21; CHECK: .ascii " /EXPORT:y,DATA"
22