Skip to content

Commit af53b3f

Browse files
committed
[IRGen] Fix up test for rebranch
1 parent 746517c commit af53b3f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/IRGen/has_symbol.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,4 +242,7 @@ public func testMetatypes() {
242242

243243
// --- Generic<Void>.self ---
244244
// CHECK: define linkonce_odr hidden i1 @"$s17has_symbol_helper7GenericVTwS"()
245-
// CHECK: ret i1 and (i1 icmp ne (ptr @"$s17has_symbol_helper7GenericVMn", ptr null), i1 icmp ne (ptr @"$s17has_symbol_helper7GenericVMa", ptr null))
245+
// CHECK: [[V0:%.*]] = icmp ne ptr @"$s17has_symbol_helper7GenericVMn", null
246+
// CHECK: [[V1:%.*]] = icmp ne ptr @"$s17has_symbol_helper7GenericVMa", null
247+
// CHECK: [[RES:%.*]] = and i1 [[V0]], [[V1]]
248+
// CHECK: ret i1 [[RES]]

0 commit comments

Comments
 (0)