Skip to content

Commit fbb6efc

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

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
@@ -108,7 +108,7 @@ public func compareInits() -> Bool {
108108
let mfNoLabel = MyInt(1)
109109
let res = mf.rawValue == MyInt.one.rawValue
110110
&& mfNoLabel.rawValue == MyInt.one.rawValue
111-
// OPT: [[ONE:%.*]] = load i32, i32* @kMyIntOne, align 4
111+
// OPT: [[ONE:%.*]] = load i32, i32*{{.*}}@kMyIntOne{{.*}}, align 4
112112
// OPT-NEXT: [[COMP:%.*]] = icmp eq i32 [[ONE]], 1
113113

114114
takesMyInt(mf)

0 commit comments

Comments
 (0)