Skip to content

Commit 94c7c3a

Browse files
committed
Revert "Fix copyforward test - rename branch to xbranch"
This reverts commit 02039a1. With the new `%FileCheck` substitution that removess full paths to the build directory from FileCheck inputs, this workaround is no longer needed.
1 parent d175b3b commit 94c7c3a

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: xbranch
272+
//CHECK-LABEL: branch
273273
//CHECK-NOT: copy_addr
274274
//CHECK: return
275-
sil hidden @xbranch : $@convention(thin) <T> (@in T, Bool) -> () {
275+
sil hidden @branch : $@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)