1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 13:11:39 +01:00
llvm-mirror/test/CodeGen/AArch64/global-merge-hidden-minsize.ll
Hans Wennborg 8196b233b2 Drop arm triple from test/CodeGen/AArch64/global-merge-hidden-minsize.ll
Because it's in the AArch64/ directory, it runs in cases where the arm
target may not be available, see comment on D73235.
2020-01-30 15:02:38 +01:00

26 lines
535 B
LLVM

; RUN: llc %s -mtriple=aarch64-none-linux-gnu -o - | FileCheck %s
@x = hidden global i32 0, align 4
@y = hidden global i32 0, align 4
define hidden void @f() #0 {
store i32 0, i32* @x, align 4
store i32 0, i32* @y, align 4
ret void
}
attributes #0 = { minsize optsize }
; CHECK: .local .L_MergedGlobals
; CHECK: .comm .L_MergedGlobals,8,4
; CHECK: .globl x
; CHECK: .hidden x
; CHECK: .set x, .L_MergedGlobals
; CHECK: .size x, 4
; CHECK: .globl y
; CHECK: .hidden y
; CHECK: .set y, .L_MergedGlobals+4
; CHECK: .size y, 4