File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -123,15 +123,15 @@ llvm.func @parallel_op_private_multi_block(%arg0: !llvm.ptr) {
123
123
// Check that the privatizer's continuation block yileds the private clone's
124
124
// address.
125
125
// CHECK: [[PRIV_CONT]]:
126
- // CHECK-NEXT: %[[ORIG_PTR3 :.*]] = phi ptr [ %[[ORIG_PTR2 ]], %[[PRIV_BB2]] ]
126
+ // CHECK-NEXT: %[[PRIV_ALLOC3 :.*]] = phi ptr [ %[[PRIV_ALLOC2 ]], %[[PRIV_BB2]] ]
127
127
// CHECK-NEXT: br label %[[PAR_REG:.*]]
128
128
129
129
// CHECK: [[PAR_REG]]:
130
130
// CHECK-NEXT: br label %[[PAR_REG2:.*]]
131
131
132
132
// Check that the body of the parallel region loads from the private clone.
133
133
// CHECK: [[PAR_REG2]]:
134
- // CHECK: %{{.*}} = load float, ptr %[[ORIG_PTR3 ]], align 4
134
+ // CHECK: %{{.*}} = load float, ptr %[[PRIV_ALLOC3 ]], align 4
135
135
136
136
omp.private {type = private } @multi_block.privatizer : f32 init {
137
137
^bb0 (%arg0: !llvm.ptr , %arg1: !llvm.ptr ):
@@ -140,7 +140,7 @@ omp.private {type = private} @multi_block.privatizer : f32 init {
140
140
^bb1 (%arg2: !llvm.ptr , %arg3: !llvm.ptr ):
141
141
%1 = llvm.load %arg2 : !llvm.ptr -> f32
142
142
llvm.store %1 , %arg3 : f32 , !llvm.ptr
143
- omp.yield (%arg2 : !llvm.ptr )
143
+ omp.yield (%arg3 : !llvm.ptr )
144
144
}
145
145
146
146
// Tests fix for Fujitsu test suite test: 0007_0019.f90: the
You can’t perform that action at this time.
0 commit comments