Skip to content

Commit c80b70f

Browse files
authored
Merge pull request #4178 from apple/fix-copy-forward-test-master
Fix copyforward test - rename branch to xbranch
2 parents 85ba7fc + 02039a1 commit c80b70f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/SILOptimizer/copyforward.sil

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,10 @@ bb0(%0 : $*T):
269269
return %t : $()
270270
}
271271

272-
//CHECK-LABEL: branch
272+
//CHECK-LABEL: xbranch
273273
//CHECK-NOT: copy_addr
274274
//CHECK: return
275-
sil hidden @branch : $@convention(thin) <T> (@in T, Bool) -> () {
275+
sil hidden @xbranch : $@convention(thin) <T> (@in T, Bool) -> () {
276276
bb0(%0 : $*T, %1 : $Bool):
277277
%2 = struct_extract %1 : $Bool, #Bool._value // user: %3
278278
cond_br %2, bb1, bb2 // id: %3

0 commit comments

Comments
 (0)