Skip to content

Commit ebed597

Browse files
authored
Merge pull request #22068 from linux-on-ibm-z/swift5.0-s390x-pictest-fix
[test] Add s390x support for test/IRGen/pic.swift
2 parents 9523e5c + 68a3355 commit ebed597

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/IRGen/pic.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,6 @@ public func use_global() -> Int {
6464
// powerpc64le-LABEL: {{_?}}$s4main10use_globalSiyF:
6565
// powerpc64le: bl swift_beginAccess
6666
// powerpc64le: addi 3, 3, ($s4main6globalSivp)@toc@l
67+
68+
// s390x-LABEL: $s4main10use_globalSiyF:
69+
// s390x: lgrl %[[REG1:r[0-9]+]], ($s4main6globalSivp)

0 commit comments

Comments
 (0)