Skip to content

Commit 993f84c

Browse files
committed
[test] make test more resilient to LLVM IR changes
1 parent fbb6efc commit 993f84c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/IRGen/newtype.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public func compareInits() -> Bool {
117117
takesMyInt(MyInt(kRawInt))
118118
// OPT: tail call void @takesMyInt(i32 1)
119119
// OPT-NEXT: tail call void @takesMyInt(i32 1)
120-
// OPT-NEXT: [[RAWINT:%.*]] = load i32, i32* @kRawInt, align 4
120+
// OPT-NEXT: [[RAWINT:%.*]] = load i32, i32*{{.*}} @kRawInt{{.*}}, align 4
121121
// OPT-NEXT: tail call void @takesMyInt(i32 [[RAWINT]])
122122
// OPT-NEXT: tail call void @takesMyInt(i32 [[RAWINT]])
123123

0 commit comments

Comments
 (0)