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.
25 lines
495 B
LLVM
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
|
|
}
|