File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -56,10 +56,9 @@ public func testCount(_ x: UnsafeBufferPointer<UInt>) -> Int {
56
56
//
57
57
// CHECK: ; <label>:[[LOOP]]:
58
58
// CHECK: phi float [ 0.000000e+00
59
- // CHECK: add nuw i64 %{{.*}}, 1
60
59
// CHECK: load float, float*
61
60
// CHECK: fadd float
62
- // CHECK: [[CMP:%[0-9]+]] = icmp eq i64 %{{.*}}, %{{.*}}
61
+ // CHECK: [[CMP:%[0-9]+]] = icmp eq
63
62
// CHECK: br i1 [[CMP]], label %.loopexit, label %[[LOOP]]
64
63
public func testSubscript( _ ubp: UnsafeBufferPointer < Float > ) -> Float {
65
64
var sum : Float = 0
@@ -80,12 +79,10 @@ public func testSubscript(_ ubp: UnsafeBufferPointer<Float>) -> Float {
80
79
//
81
80
// CHECK: ; <label>:[[LOOP]]:
82
81
// CHECK: phi i64 [ 0
83
- // CHECK: phi i64 [ 0
84
- // CHECK: add nuw i64 %{{.*}}, 1
85
82
// CHECK: load i8, i8*
86
83
// CHECK: zext i8 %{{.*}} to i64
87
84
// CHECK: add i64
88
- // CHECK: [[CMP:%[0-9]+]] = icmp eq i64 %{{.*}}, %{{.*}}
85
+ // CHECK: [[CMP:%[0-9]+]] = icmp eq
89
86
// CHECK: br i1 [[CMP]], label %[[RET]], label %[[LOOP]]
90
87
public func testSubscript( _ ubp: UnsafeRawBufferPointer ) -> Int64 {
91
88
var sum : Int64 = 0
You can’t perform that action at this time.
0 commit comments