Files
llvm-project/llvm/test/CodeGen/SystemZ/zos-lower-constant.ll
Kai Nacke 648bd564d0 [SystemZ][z/OS] Migrate most test case to use HLASM syntax (#181222)
This PR migrates all but two test cases to use HLASM syntax. It also
flips the default for the command line option, making HLASM output the
default.
The missing test cases requires some more support in the HLASM streamer,
which I will add separately.
2026-02-13 14:44:44 -05:00

25 lines
495 B
LLVM

; Test lowering of constants on z/OS
;
; RUN: llc < %s -mtriple=s390x-ibm-zos | FileCheck %s
; CHECK: func_s CSECT
; CHECK: DC AD(AD({{.*}}#S)+XL8'0')
; CHECK: func_e CSECT
; CHECK: DC VD(bar)
; CHECK: DC RD(foo)
; CHECK-NEXT: DC VD(foo)
@x = hidden global i32 4077, align 4
@y = hidden global ptr @x, align 8
@func_s = hidden global ptr @foo, align 8
@func_e = hidden global ptr @bar, align 8
define hidden void @bar() {
entry:
ret void
}
define internal void @foo() {
entry:
ret void
}