Skip to content

Commit 69d7860

Browse files
committed
[Test] Ignore potential nuw flag on getelementptr in IRGen/objc_super.swift
rdar://159226959 The flag is irrelevant to the test and may or may not be present depending on LLVM version
1 parent 6942742 commit 69d7860

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/IRGen/objc_super.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class GenericRuncer<T> : Gizmo {
116116
// CHECK-NEXT: [[ISA_MASK:%.*]] = load i64, ptr @swift_isaMask, align 8
117117
// CHECK-NEXT: [[ISA_MASKED:%.*]] = and i64 [[ISA]], [[ISA_MASK]]
118118
// CHECK-NEXT: [[ISA_PTR:%.*]] = inttoptr i64 [[ISA_MASKED]] to ptr
119-
// CHECK: [[METACLASS_ADDR:%.*]] = getelementptr inbounds %objc_super, ptr %objc_super, i32 0, i32 1
119+
// CHECK: [[METACLASS_ADDR:%.*]] = getelementptr inbounds{{.*}} %objc_super, ptr %objc_super, i32 0, i32 1
120120
// CHECK-NEXT: store ptr [[ISA_PTR]], ptr [[METACLASS_ADDR]], align 8
121121
// CHECK-NEXT: [[SELECTOR:%.*]] = load ptr, ptr @"\01L_selector(runce)", align 8
122122
// CHECK-NEXT: call void @objc_msgSendSuper2(ptr %objc_super, ptr [[SELECTOR]])

0 commit comments

Comments
 (0)