brintos

brintos / llvm-project-archived public Read only

0
0
Text · 577 B · f5961d7 Raw
22 lines · plain
1; RUN: llc < %s -mtriple=thumbv7-win32 -arm-global-merge | FileCheck %s2 3@x = global i32 0, align 44@y = dllexport global i32 0, align 45 6define void @f1(i32 %a1, i32 %a2) {7; CHECK: f1:8; CHECK: movw [[REG1:r[0-9]+]], :lower16:.L_MergedGlobals9; CHECK: movt [[REG1]], :upper16:.L_MergedGlobals10  store i32 %a1, ptr @x, align 411  store i32 %a2, ptr @y, align 412  ret void13}14 15; CHECK: .lcomm .L_MergedGlobals,8,416; CHECK: .section .drectve,"yni"17; CHECK: .ascii " /EXPORT:y,DATA"18; CHECK: .globl x19; CHECK: x = .L_MergedGlobals20; CHECK: .globl y21; CHECK: y = .L_MergedGlobals+422