Skip to content

Commit 5431f7c

Browse files
committed
[rebranch][test] IRGen: Adjust icmp check that is now marked samesign
Per b7db403e701029c801fd990dceeb219de9fb800c (llvm-project).
1 parent 5344606 commit 5431f7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/IRGen/annotated_cond_fail.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public func test(_ a: [Int], _ i: Int) -> Int {
1919

2020
// CHECK: [[SIZE_ADDR:%.*]] = getelementptr
2121
// CHECK: [[SIZE:%.*]] = load i64, ptr [[SIZE_ADDR]]
22-
// CHECK: [[C1:%.*]] = icmp ult i64 [[IDX]], [[SIZE]]
22+
// CHECK: [[C1:%.*]] = icmp samesign ult i64 [[IDX]], [[SIZE]]
2323
// CHECK: br i1 [[C1]], {{.*}}!annotation ![[ARRAY_INDEX_OUT_OF_BOUNDS]]
2424

2525

0 commit comments

Comments
 (0)