mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[rebranch][test] IRGen: Adjust icmp check that is now marked samesign
Per b7db403e701029c801fd990dceeb219de9fb800c (llvm-project).
This commit is contained in:
@@ -19,7 +19,7 @@ public func test(_ a: [Int], _ i: Int) -> Int {
|
||||
|
||||
// CHECK: [[SIZE_ADDR:%.*]] = getelementptr
|
||||
// CHECK: [[SIZE:%.*]] = load i64, ptr [[SIZE_ADDR]]
|
||||
// CHECK: [[C1:%.*]] = icmp ult i64 [[IDX]], [[SIZE]]
|
||||
// CHECK: [[C1:%.*]] = icmp samesign ult i64 [[IDX]], [[SIZE]]
|
||||
// CHECK: br i1 [[C1]], {{.*}}!annotation ![[ARRAY_INDEX_OUT_OF_BOUNDS]]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user