Skip to content

Commit a856385

Browse files
Merge pull request #37405 from aschwaighofer/test_irgen_pic_arm64_5.5
[5.5] Fix test IRGen/pic.swift on arm64e
2 parents 6a117d7 + b578e99 commit a856385

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/IRGen/pic.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ public func use_global() -> Int {
8585
// The following checks are temporarily disabled. See rdar://problem/42909618
8686
// arm64e-LABEL: _$s4main10use_globalSiyF:
8787
// arm64e: bl _swift_beginAccess
88-
// arm64e: ldr [[REG2:x[0-9]+]], [{{x[0-9]+}}, _$s4main6globalSivp@PAGEOFF]
88+
// arm64e: ldr [[REG2:x[0-9]+]]
89+
// arm64e: str [[REG2]], [sp
8990
// arm64e: bl _swift_endAccess
9091

9192
// arm64_32-LABEL: _$s4main10use_globalSiyF:

0 commit comments

Comments
 (0)